Skip to content

Commit 17702d0

Browse files
renemadsenclaude
andcommitted
fix(cronjob.py): force-update tags on fetch to handle divergent refs
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent cd06cd2 commit 17702d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cronjob.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def commit_modified_csprojs(csproj_paths, issue_number):
162162

163163

164164
def push_new_version_tag():
165-
subprocess.run(["git", "fetch", "--tags"], check=True)
165+
subprocess.run(["git", "fetch", "--tags", "--force"], check=True)
166166
tags_output = (
167167
subprocess.check_output(["git", "tag", "--sort=-v:refname"])
168168
.decode("utf-8")

0 commit comments

Comments
 (0)