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: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F833%2Fhead;p=thirdparty%2Fpdns.git 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 a2ab0ffa7f..970b47ccf4 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: