diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2023-06-13 15:02:33 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2023-06-13 21:14:34 -0400 |
commit | c503c757f1afa4677d98901ce3fc1e509c01aeeb (patch) | |
tree | 06b797cec86b4fd1dfc5ac4ace695c32968da399 | |
parent | d8cb62bf2b9bee010a7a4b09138ea15213405a08 (diff) | |
download | meson-c503c757f1afa4677d98901ce3fc1e509c01aeeb.zip meson-c503c757f1afa4677d98901ce3fc1e509c01aeeb.tar.gz meson-c503c757f1afa4677d98901ce3fc1e509c01aeeb.tar.bz2 |
coredata: Fix wrong stable_version value
-rw-r--r-- | mesonbuild/coredata.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/coredata.py b/mesonbuild/coredata.py index 4bd1629..0a09618 100644 --- a/mesonbuild/coredata.py +++ b/mesonbuild/coredata.py @@ -68,7 +68,7 @@ stable_version = version if stable_version.endswith('.99'): stable_version_array = stable_version.split('.') stable_version_array[-1] = '0' - stable_version_array[-2] = str(int(version[-2]) + 1) + stable_version_array[-2] = str(int(stable_version_array[-2]) + 1) stable_version = '.'.join(stable_version_array) backendlist = ['ninja', 'vs', 'vs2010', 'vs2012', 'vs2013', 'vs2015', 'vs2017', 'vs2019', 'vs2022', 'xcode', 'none'] |