Skip to content

Commit

Permalink
[NFC] Fix exception in version-check.py script
Browse files Browse the repository at this point in the history
  • Loading branch information
tru committed Sep 15, 2022
1 parent 3637f34 commit 8b75172
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/version-check.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def get_version_from_tag(tag):
# We have an rc tag.
return m.group(1,2,3)
# We have a final release tag.
return (m.group(1), m.group(2), int(m.group(3)) + 1)
return (m.group(1), m.group(2), str(int(m.group(3)) + 1))

m = re.match('llvmorg-([0-9]+)-init', tag)
if m:
Expand Down

0 comments on commit 8b75172

Please sign in to comment.