ci: fix `getLatestLabel` (#14535)
This commit is contained in:
parent
724ca373e7
commit
4a56b6e7f6
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue