From: Christian Hofstaedtler Date: Tue, 28 May 2013 09:33:49 +0000 (+0200) Subject: fix branch snapshot build detection in build-scripts/make-jenkins-versions X-Git-Tag: auth-3.3-rc2~67^2~1^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1ab94375a07eeaeaae49899e9830af3b758f782e;p=pdns fix branch snapshot build detection in build-scripts/make-jenkins-versions --- diff --git a/build-scripts/make-jenkins-version b/build-scripts/make-jenkins-version index a2ab0ffa7..970b47ccf 100755 --- a/build-scripts/make-jenkins-version +++ b/build-scripts/make-jenkins-version @@ -40,7 +40,7 @@ then if [ "$product" = "$BUILDING_PRODUCT" ] then expected_tag=${product}-${version} # ex: "rec-3.5.1" - git_tag=$(git describe --match "${expected_tag}*" 2>/dev/null) + git_tag=$(git describe --exact-match --match "${expected_tag}*" 2>/dev/null) if [ -z "$git_tag" ] then # snapshot build: