mirror of https://github.com/pressly/goose.git
build: add Linux ARM64 arch support (#499)
parent
3e0905abac
commit
86f779a959
|
@ -7,9 +7,13 @@
|
|||
|
||||
set -e
|
||||
|
||||
os=$(uname -s)
|
||||
os=$(uname -s | tr '[:upper:]' '[:lower:]')
|
||||
arch=$(uname -m)
|
||||
|
||||
if [ "$arch" = "aarch64" ]; then
|
||||
arch="arm64"
|
||||
fi
|
||||
|
||||
if [ $# -eq 0 ]; then
|
||||
goose_uri="https://github.com/pressly/goose/releases/latest/download/goose_${os}_${arch}"
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue