mirror of
https://github.com/reecetech/version-increment.git
synced 2025-12-21 06:25:44 +00:00
[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:
@@ -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
|
||||
|
||||
##==----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user