]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
pdns-builder: re-instate the "g" for git version
authorPieter Lexis <pieter.lexis@powerdns.com>
Tue, 2 Oct 2018 13:14:14 +0000 (15:14 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Tue, 2 Oct 2018 13:14:14 +0000 (15:14 +0200)
builder-support/gen-version

index 35f2bc30c7c60150b37632bafe93f772de0325d6..c6819b7238cad7cc74b4f952e300ecaf126106d0 100755 (executable)
@@ -59,7 +59,7 @@ if [ ! -z "$(git rev-parse --abbrev-ref HEAD 2> /dev/null)" ]; then
     fi
   fi
 
-  VERSION="${LAST_TAG}.${COMMITS_SINCE_TAG}${BRANCH}.${GIT_HASH}${DIRTY}"
+  VERSION="${LAST_TAG}.${COMMITS_SINCE_TAG}${BRANCH}.g${GIT_HASH}${DIRTY}"
 fi
 
 printf $VERSION