From e4259c5045d09cfa9f41d07b6e080a0e252e0114 Mon Sep 17 00:00:00 2001 From: Lorenzo Bolla Date: Fri, 5 Feb 2021 14:40:12 +0100 Subject: [PATCH] Always try to get a version Even if a simple git hash. --- Makefile | 2 +- system/t04_mirror/CreateMirror19Test_gold | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c2915262..6291b383 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/system/t04_mirror/CreateMirror19Test_gold b/system/t04_mirror/CreateMirror19Test_gold index 9f18367f..285a180f 100644 --- a/system/t04_mirror/CreateMirror19Test_gold +++ b/system/t04_mirror/CreateMirror19Test_gold @@ -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) " gpgv: RSA key ID E562B32A