Skip to content

Commit

Permalink
fix version setting on release artifacts build script
Browse files Browse the repository at this point in the history
  • Loading branch information
fabriciojs committed May 31, 2021
1 parent dd83cd3 commit 121dd3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ for i in "${!BUILD[@]}"; do
--env CGO_ENABLED=0 \
-v $(pwd):/code -w /code $GO_IMAGE \
go build -a -tags 'osusergo netgo static_build' \
-ldflags '-X kool-dev/kool/cmd.version='$BUILD_VERSION' -extldflags "-static"' \
-ldflags '-X kool-dev/kool/commands.version='$BUILD_VERSION' -extldflags "-static"' \
-o $dist
done

Expand Down

0 comments on commit 121dd3c

Please sign in to comment.