Make sure all excess local tags are removed from the source repo at the start

This commit is contained in:
Dan Hawkins 2018-12-01 23:53:17 +00:00
commit 5a60dddd9a

View file

@ -76,7 +76,8 @@ def checkoutsourcerepo(buildmeta, String checkoutfolder) {
git clean -fdx
git pull
# Remove all tags that are not already on the remote
git fetch --tags --prune
git tag -l | xargs git tag -d >/dev/null
git fetch -t >/dev/null
"""
)
}