mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-06 05:30:57 +00:00
Always try to get a version
Even if a simple git hash.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user