[NFC] Fix exception in version-check.py script
authorTobias Hieta <tobias@hieta.se>
Thu, 15 Sep 2022 11:32:32 +0000 (13:32 +0200)
committerTobias Hieta <tobias@hieta.se>
Thu, 15 Sep 2022 11:32:32 +0000 (13:32 +0200)
.github/workflows/version-check.py

index f2cef9f86427189e190f386504d3fd6485021dab..d052bd3a5686b9b94b2e57f2f9a43ffabec0b7d6 100755 (executable)
@@ -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: