Skip to content

Commit

Permalink
More correct command for versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
9seconds committed Nov 2, 2018
1 parent 28b3cbe commit 7d6b661
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 @@ -8,7 +8,7 @@ GOLANGCI_LINT_VERSION := v1.11.2

VERSION_GO := $(shell go version)
VERSION_DATE := $(shell date -Ru)
VERSION_TAG := $(shell git describe --long --always)
VERSION_TAG := $(shell git describe --tags --always)
COMMON_BUILD_FLAGS := -ldflags="-s -w -X 'main.version=$(VERSION_TAG) ($(VERSION_GO)) [$(VERSION_DATE)]'"

MOD_ON := env GO111MODULE=on
Expand Down

0 comments on commit 7d6b661

Please sign in to comment.