ci: fix getLatestLabel
(#14535)
This commit is contained in:

committed by
Igor Minar

parent
3a3a100b27
commit
9e8d740a96
@ -18,7 +18,6 @@ function getLatestTag {
|
|||||||
|
|
||||||
# Increase the clone depth and look for a tag.
|
# Increase the clone depth and look for a tag.
|
||||||
depth=$((depth + 50))
|
depth=$((depth + 50))
|
||||||
echo "Looking for latest tag at depth $depth..."
|
|
||||||
git fetch --depth=$depth
|
git fetch --depth=$depth
|
||||||
latestTag=`git describe --tags --abbrev=0 || echo NOT_FOUND`
|
latestTag=`git describe --tags --abbrev=0 || echo NOT_FOUND`
|
||||||
done
|
done
|
||||||
|
Reference in New Issue
Block a user