Skip to content

Commit

Permalink
Fix all faulty non-linux binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
buzzy committed Sep 14, 2022
1 parent fc3e53f commit ba2c95b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ do
fi

BINARY="scalr-cli_${VERSION}_${GOOS}_${GOARCH}${EXT}"
go build -ldflags="-s -w" -o bin/$BINARY .
GOOS=$GOOS GOARCH=$GOARCH go build -ldflags="-s -w" -o bin/$BINARY .
cd bin
chmod +x $BINARY
mv $BINARY scalr
Expand Down

0 comments on commit ba2c95b

Please sign in to comment.