MAPG-228 prune local tags when fetching
All checks were successful
default-pipeline default-pipeline #107
All checks were successful
default-pipeline default-pipeline #107
This commit is contained in:
parent
dd46fb3d32
commit
9d1fc8b60c
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user