Skip to content

Commit 227b3fc

Browse files
committed
fix(build): export env var GOARCH
1 parent 613650b commit 227b3fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ for build in "$@"; do
1111
arg=($build)
1212
export GOOS="${arg[0]}"
1313
ARCH="${arg[1]}" # e.g. "amd64" or "amd64,v2"
14-
GOARCH=${ARCH%,*}
14+
export GOARCH=${ARCH%,*}
1515
if [ "$ARCH" != "$GOARCH" ]; then
1616
# e.g. "GOAMD64=v2"
1717
ARCH_OPT="${ARCH#*,}"

0 commit comments

Comments
 (0)