diff options
| author | Tom Stellard <tstellar@redhat.com> | 2023-01-27 06:57:35 -0800 |
|---|---|---|
| committer | Tom Stellard <tstellar@redhat.com> | 2023-01-27 06:58:47 -0800 |
| commit | 57b491b5c10a0de5eed83cb5e19c9f8dedc11e67 (patch) | |
| tree | a1212ecae2d7afc8d411acc4a7ea5eb5a1cae0db /.github/workflows/version-check.py | |
| parent | 6bdecbcb99bc6b8fa25a2841bf2087bdbb91b4aa (diff) | |
Workflows: Fix version-check.py script for when there is no RC tag yet
Reviewed By: thieta
Differential Revision: https://reviews.llvm.org/D142598
Diffstat (limited to '.github/workflows/version-check.py')
| -rwxr-xr-x | .github/workflows/version-check.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/version-check.py b/.github/workflows/version-check.py index d052bd3a5686..dd49fe5973b4 100755 --- a/.github/workflows/version-check.py +++ b/.github/workflows/version-check.py @@ -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}") |
