[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
Fri Jan 27 06:59:12 PST 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG57b491b5c10a: Workflows: Fix version-check.py script for when there is no RC tag yet (authored by tstellar).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142598/new/

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.492746.patch
Type: text/x-patch
Size: 410 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230127/c893ffe4/attachment.bin>


More information about the llvm-commits mailing list