specify version in deps task
This commit is contained in:
parent
48b5a85bcf
commit
289fe5ad2e
4
Makefile
4
Makefile
|
@ -19,8 +19,8 @@ export GO_PROJECT_PATH ?= github.com/$(GITHUB_USER)/$(GITHUB_REPO)
|
||||||
|
|
||||||
deps:
|
deps:
|
||||||
go version
|
go version
|
||||||
go install github.com/karalabe/xgo
|
go install github.com/karalabe/xgo@latest
|
||||||
go install github.com/aktau/github-release
|
go install github.com/aktau/github-release@latest
|
||||||
|
|
||||||
build:
|
build:
|
||||||
go build -i -o $(GOBIN)/$(BIN_NAME) -v -ldflags "-X main.version=$(VERSION)" .
|
go build -i -o $(GOBIN)/$(BIN_NAME) -v -ldflags "-X main.version=$(VERSION)" .
|
||||||
|
|
Loading…
Reference in New Issue