MAPG-228 prune local tags when fetching
default-pipeline default-pipeline #107

This commit is contained in:
bence committed 2021-04-25 15:11:49 +02:00
1 parent dd46fb3d32
commit 9d1fc8b60c
1 file changed
+1 -1
+1 -1
View File
@@ -77,7 +77,7 @@ def isTagVerified(tag):
return process.returncode == 0 return process.returncode == 0
def updateRepoFromRemote(): def updateRepoFromRemote():
subprocess.call(["git", "fetch", "origin", "--prune"], cwd=REPO) subprocess.call(["git", "fetch", "origin", "--prune", "--prune-tags"], cwd=REPO)
def checkoutWorktree(worktreePath, ref): def checkoutWorktree(worktreePath, ref):
subprocess.call(["git", "checkout", "-f", ref], cwd=worktreePath) subprocess.call(["git", "checkout", "-f", ref], cwd=worktreePath)