diff --git a/version.py b/version.py index 85f3b7136..5617cae6a 100755 --- a/version.py +++ b/version.py @@ -20,5 +20,5 @@ ] result = subp.run(cmd, stdout=subp.PIPE, encoding="utf-8", check=True) -version = result.stdout.strip().removeprefix("release-") +version = result.stdout.strip().replace("release-", "", 1) print(version)