Skip to content

Commit

Permalink
Properly add versions to release builds
Browse files Browse the repository at this point in the history
  • Loading branch information
karmanyaahm committed Jun 14, 2022
1 parent 0243526 commit 13296fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ local-docker:
$(DOCKER_CMD) make local
all:
install -d bin
OUTPUT="${BUILD_DIR}/up-rewrite" ./go-build-all.sh
GIT_CMT=$$(git describe --tags --always) OUTPUT="${BUILD_DIR}/up-rewrite" ./go-build-all.sh -ldflags '"-X github.com/karmanyaahm/up_rewrite/config.Version=$$GIT_CMT"'
cd bin; \
sha256sum * > sha256
all-docker:
Expand Down

0 comments on commit 13296fb

Please sign in to comment.