Skip to content

Commit

Permalink
v0.9.1-2 CGO_ENABLED=0
Browse files Browse the repository at this point in the history
  • Loading branch information
yakumo-saki committed Nov 7, 2021
1 parent aad3291 commit 53fb8c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function build_unixlike () {
echo Building $1 $2 binary

FINAL_PATH=${RELEASE_DIR}/${BIN_BASENAME}_${VERSION}_$1_$2.tar.gz
GOOS=$1 GOARCH=$2 go build -o ${BIN_DIR}/${BIN_BASENAME} ${ENTRYPOINT}
GOOS=$1 GOARCH=$2 CGO_ENABLED=0 go build -o ${BIN_DIR}/${BIN_BASENAME} ${ENTRYPOINT}

# copy bin to work
cp ${BIN_DIR}/${BIN_BASENAME} ${WORK_DIR}/
Expand Down

0 comments on commit 53fb8c9

Please sign in to comment.