ci: fix getLatestLabel (#14535)

This commit is contained in:
George Kalpakas
2017-02-16 18:57:58 +02:00
committed by Igor Minar
parent 3a3a100b27
commit 9e8d740a96

View File

@ -18,7 +18,6 @@ function getLatestTag {
# Increase the clone depth and look for a tag.
depth=$((depth + 50))
echo "Looking for latest tag at depth $depth..."
git fetch --depth=$depth
latestTag=`git describe --tags --abbrev=0 || echo NOT_FOUND`
done