We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1780d43 commit 181212eCopy full SHA for 181212e
tools/scripts/fetch
@@ -32,7 +32,9 @@ fetch() {
32
;;
33
"goreleaser")
34
ver_cmd="${DEST}/goreleaser --version 2>/dev/null | grep version | cut -d' ' -f3"
35
- fetch_cmd="curl -sSfL https://install.goreleaser.com/github.com/goreleaser/goreleaser.sh | sh -s -- -b \"${DEST}\" -d \"v${ver}\""
+ osCap="$(uname -s)"
36
+ archBase="$(uname -m)"
37
+ 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)"
38
39
*)
40
echo "unknown tool $tool"
0 commit comments