We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
GOARCH
1 parent 613650b commit 227b3fcCopy full SHA for 227b3fc
build/build.sh
@@ -11,7 +11,7 @@ for build in "$@"; do
11
arg=($build)
12
export GOOS="${arg[0]}"
13
ARCH="${arg[1]}" # e.g. "amd64" or "amd64,v2"
14
- GOARCH=${ARCH%,*}
+ export GOARCH=${ARCH%,*}
15
if [ "$ARCH" != "$GOARCH" ]; then
16
# e.g. "GOAMD64=v2"
17
ARCH_OPT="${ARCH#*,}"
0 commit comments