Always try to get a version

Even if a simple git hash.
This commit is contained in:
Lorenzo Bolla committed 2021-02-08 10:52:27 +01:00
1 parent 993dd2ad1c
commit e4259c5045
2 files changed
+1 -2

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@ GOVERSION=$(shell go version | awk '{print $$3;}')
ifdef TRAVIS_TAG
TAG=$(TRAVIS_TAG)
else
TAG="$(shell git describe --tags)"
TAG="$(shell git describe --tags --always)"
endif
VERSION=$(shell echo $(TAG) | sed 's@^v@@' | sed 's@-@+@g')
PACKAGES=context database deb files gpg http query swift s3 utils