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:27:47 +00:00
commit 09984a65b6

View file

@ -75,6 +75,8 @@ def checkoutsourcerepo(buildmeta, String checkoutfolder) {
git reset --hard
git clean -fdx
git pull
# Remove all tags that are not already on the remote
git fetch --tags --prune
"""
)
}