From: Pieter Lexis Date: Tue, 5 Jun 2018 18:01:30 +0000 (+0200) Subject: pdns-builder: Ensure version numbers for master are higher than currently X-Git-Tag: dnsdist-1.3.3~83^2~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c95471aaf0363767ad23ab33faa6389f43ee5f63;p=thirdparty%2Fpdns.git pdns-builder: Ensure version numbers for master are higher than currently --- diff --git a/builder-support/gen-version b/builder-support/gen-version index 7750a78a71..78d758949b 100755 --- a/builder-support/gen-version +++ b/builder-support/gen-version @@ -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