Always try to get a version

Even if a simple git hash.
This commit is contained in:
Lorenzo Bolla
2021-02-05 14:40:12 +01:00
parent 993dd2ad1c
commit e4259c5045
2 changed files with 1 additions and 2 deletions

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

View File

@@ -1,5 +1,4 @@
Downloading http://security.debian.org/dists/stretch/updates/InRelease...
Following redirect to http://security-cdn.debian.org/dists/stretch/updates/InRelease...
gpgv: RSA key ID 331F7F50
gpgv: Good signature from "Debian Security Archive Automatic Signing Key (9/stretch) <ftpmaster@debian.org>"
gpgv: RSA key ID E562B32A