diff --git a/build_no.sh b/build_no.sh index 7e0dfe99e8..1b4f0bab02 100755 --- a/build_no.sh +++ b/build_no.sh @@ -24,6 +24,9 @@ getNumber () { REGEX='^build-[0-9]\+$' +# make sure we have all the tags +git fetch --tags + # check if current commit has a build tag BUILD=$(git tag --points-at HEAD | grep -e "$REGEX")