Skip to content

Commit

Permalink
refa (Laerdal.SetupBuildEnvironment.sh): use curl instead of wget to …
Browse files Browse the repository at this point in the history
…fetch cyclonedx
  • Loading branch information
ksidirop-laerdal committed Aug 16, 2024
1 parent f765a15 commit 80f53cf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Laerdal.Scripts/Laerdal.SetupBuildEnvironment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -245,9 +245,9 @@ if [ $exitCode != 0 ]; then
fi

# we need to install the CycloneDX tool too in order to sign the artifacts
wget --no-verbose https://github.com/CycloneDX/cyclonedx-cli/releases/download/v0.25.1/cyclonedx-osx-arm64 \
&& mv cyclonedx-osx-arm64 ./Laerdal.Scripts/cyclonedx \
&& chmod +x ./Laerdal.Scripts/cyclonedx
curl --output cyclonedx --url https://github.com/CycloneDX/cyclonedx-cli/releases/download/v0.25.1/cyclonedx-osx-arm64 \
&& mv cyclonedx ./Laerdal.Scripts/cyclonedx \
&& chmod +x ./Laerdal.Scripts/cyclonedx
declare exitCode=$?
if [ $exitCode != 0 ]; then
echo "##vso[task.logissue type=error]Failed to install 'cyclonedx'."
Expand Down

0 comments on commit 80f53cf

Please sign in to comment.