[DE-4875] Forcing git fetch tags

Workaround for the issue where in certain cases it's failing when a version tag has moved.
This commit is contained in:
karunasa
2022-02-25 09:26:09 +11:00
parent ddbbe72b7f
commit ccbbbe93a8

View File

@@ -27,7 +27,7 @@ fi
# Skip if testing, otherwise pull tags
if [[ -z "${BATS_VERSION:-}" ]] ; then
git fetch --quiet origin 'refs/tags/*:refs/tags/*'
git fetch --quiet --force origin 'refs/tags/*:refs/tags/*'
fi
##==----------------------------------------------------------------------------