Skip to content

Commit

Permalink
Specify version package when gobump
Browse files Browse the repository at this point in the history
  • Loading branch information
yuuki committed Nov 10, 2019
1 parent 384baaf commit 512724e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ check:

.PHONY: crossbuild
crossbuild: devel-deps credits
$(eval ver = $(shell gobump show -r))
$(eval ver = $(shell gobump show -r version))
goxz -pv=v$(ver) -os=linux -arch=386,amd64 -build-ldflags="$(RELEASE_BUILD_LDFLAGS)" \
-d=./dist/v$(ver)

Expand Down
4 changes: 2 additions & 2 deletions _tools/upload_artifacts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
set -e

ver=v$(gobump show -r)
ver=v$(gobump show -r version)
make crossbuild
ghr -username yuuki -replace ${ver} dist/${ver}
ghr -username yuuki -replace ${ver} dist/${ver}

0 comments on commit 512724e

Please sign in to comment.