Skip to content

Commit ff0d3fd

Browse files
committed
Workflows: Fix version-check.py script for when there is no RC tag yet
Reviewed By: thieta Differential Revision: https://reviews.llvm.org/D142598 (cherry picked from commit 57b491b)
1 parent 1639161 commit ff0d3fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/version-check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def get_version_from_tag(tag):
1616

1717
m = re.match('llvmorg-([0-9]+)-init', tag)
1818
if m:
19-
return (int(m.group(1)) + 1, 0, 0)
19+
return (m.group(1), "0", "0")
2020

2121
raise Exception(f"error: Tag is not valid: {tag}")
2222

0 commit comments

Comments
 (0)