[PATCH] D142598: Workflows: Fix version-check.py script for when there is no RC tag yet
Tom Stellard via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 25 19:36:08 PST 2023
tstellar created this revision.
tstellar added a reviewer: thieta.
Herald added a project: All.
tstellar requested review of this revision.
Herald added a project: LLVM.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D142598
Files:
.github/workflows/version-check.py
Index: .github/workflows/version-check.py
===================================================================
--- .github/workflows/version-check.py
+++ .github/workflows/version-check.py
@@ -16,7 +16,7 @@
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}")
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142598.492314.patch
Type: text/x-patch
Size: 410 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230126/866a5a96/attachment.bin>
More information about the llvm-commits
mailing list