Make sure all excess local tags are removed from the source repo at the start
This commit is contained in:
parent
391001aa3b
commit
e419aac74f
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
"""
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue