]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
pdns-builder: Ensure version numbers for master are higher than currently
authorPieter Lexis <pieter.lexis@powerdns.com>
Tue, 5 Jun 2018 18:01:30 +0000 (20:01 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Thu, 27 Sep 2018 11:59:30 +0000 (13:59 +0200)
builder-support/gen-version

index 7750a78a71f87ec89814fab166bf7be0d7ca2a89..78d758949bd36f1fc8e59fb5f0bfd37b55d13366 100755 (executable)
@@ -38,7 +38,7 @@ if [ ! -z "$(git rev-parse --abbrev-ref HEAD 2> /dev/null)" ]; then
   GIT_HASH="$(echo ${GIT_VERSION} | cut -d- -f3)"
 
   if [ -z "${GIT_VERSION}" ]; then
-    LAST_TAG=0.0.0
+    LAST_TAG=0.0
     COMMITS_SINCE_TAG="$(git rev-list --count 12c868770afc20b6cc0da439d881105151d557dd..HEAD 2> /dev/null)"
     GIT_HASH="$(git rev-parse HEAD | cut -c1-10 2> /dev/null)"
   fi