Skip to content

Commit

Permalink
Workflows: Fix version-check.py script for when there is no RC tag yet
Browse files Browse the repository at this point in the history
Reviewed By: thieta

Differential Revision: https://reviews.llvm.org/D142598

(cherry picked from commit 57b491b)
  • Loading branch information
tstellar committed Jan 28, 2023
1 parent 1639161 commit ff0d3fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/version-check.py
Expand Up @@ -16,7 +16,7 @@ def get_version_from_tag(tag):

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

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

Expand Down

0 comments on commit ff0d3fd

Please sign in to comment.