diff options
Diffstat (limited to '')
-rw-r--r-- | devscripts/update-version.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devscripts/update-version.py b/devscripts/update-version.py index 07a0717..2018ba8 100644 --- a/devscripts/update-version.py +++ b/devscripts/update-version.py @@ -24,7 +24,7 @@ def get_new_version(version, revision): else: old_version = read_version().split('.') if version.split('.') == old_version[:3]: - revision = str(int((old_version + [0])[3]) + 1) + revision = str(int(([*old_version, 0])[3]) + 1) return f'{version}.{revision}' if revision else version |