Skip to content

Commit

Permalink
Add substitution for aarch64 to installation bash script (#363)
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Rosca <[email protected]>
  • Loading branch information
andrew-rosca authored Aug 26, 2024
1 parent a4a4383 commit 78be2c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -e -o pipefail
version=$(curl -s https://api.github.com/repos/cnoe-io/idpbuilder/releases | grep tag_name | grep -o -e '"v[0-9].[0-9].[0-9]"' | head -n1 | sed 's/"//g')

echo "Downloading idpbuilder version ${version}"
curl -L --progress-bar -o ./idpbuilder.tar.gz "https://github.com/cnoe-io/idpbuilder/releases/download/${version}/idpbuilder-$(uname | awk '{print tolower($0)}')-$(uname -m | sed 's/x86_64/amd64/').tar.gz"
curl -L --progress-bar -o ./idpbuilder.tar.gz "https://github.com/cnoe-io/idpbuilder/releases/download/${version}/idpbuilder-$(uname | awk '{print tolower($0)}')-$(uname -m | sed -e 's/x86_64/amd64/' -e 's/aarch64/arm64/').tar.gz"
tar xzf idpbuilder.tar.gz

echo "Moving idpbuilder binary to /usr/local/bin"
Expand Down

0 comments on commit 78be2c2

Please sign in to comment.