]> granicus.if.org Git - pdns/commitdiff
fix branch snapshot build detection in build-scripts/make-jenkins-versions
authorChristian Hofstaedtler <christian@hofstaedtler.name>
Tue, 28 May 2013 09:33:49 +0000 (11:33 +0200)
committerChristian Hofstaedtler <christian@hofstaedtler.name>
Tue, 28 May 2013 09:35:28 +0000 (11:35 +0200)
build-scripts/make-jenkins-version

index a2ab0ffa7f6ca07cb9dfd4a36fdd0c3c3ba8ca4b..970b47ccf4ee77603249690fdeda1058a1093aca 100755 (executable)
@@ -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: