MAPG-228 prune local tags when fetching
All checks were successful
default-pipeline default-pipeline #107

This commit is contained in:
Bence Pőcze 2021-04-25 15:11:49 +02:00
parent dd46fb3d32
commit 9d1fc8b60c
Signed by: bence
GPG Key ID: AA52B11A3269D1C1

View File

@ -77,7 +77,7 @@ def isTagVerified(tag):
return process.returncode == 0
def updateRepoFromRemote():
subprocess.call(["git", "fetch", "origin", "--prune"], cwd=REPO)
subprocess.call(["git", "fetch", "origin", "--prune", "--prune-tags"], cwd=REPO)
def checkoutWorktree(worktreePath, ref):
subprocess.call(["git", "checkout", "-f", ref], cwd=worktreePath)