We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd408cd commit 5b29693Copy full SHA for 5b29693
tools/scripts/fetch
@@ -16,7 +16,9 @@ fetch() {
16
;;
17
"goreleaser")
18
ver_cmd="${DEST}/goreleaser --version 2>/dev/null | grep version | cut -d' ' -f3"
19
- fetch_cmd="curl -sSfL https://install.goreleaser.com/github.com/goreleaser/goreleaser.sh | sh -s -- -b \"${DEST}\" -d \"v${ver}\""
+ osCap="$(uname -s)"
20
+ archBase="$(uname -m)"
21
+ fetch_cmd="(curl -sSfLo '${DEST}/goreleaser.tar.gz' 'https://github.com/goreleaser/goreleaser/releases/download/v${ver}/goreleaser_${osCap}_${archBase}.tar.gz' && tar -xf $DEST/goreleaser.tar.gz -C $DEST)"
22
23
*)
24
echo "unknown tool $tool"
0 commit comments