meson: Drop version subpatch handling

This commit is contained in:
Povilas Kanapickas 2021-04-07 21:55:02 +03:00
parent 5d3679104a
commit 2df55813d0
1 changed files with 0 additions and 5 deletions

View File

@ -2,11 +2,6 @@ version_split = meson.project_version().split('.')
major = version_split[0].to_int()
minor = version_split[1].to_int()
patch = version_split[2].to_int()
if version_split.length() == 4
subpatch = version_split[3].to_int()
else
subpatch = 0
endif
# convert to the old-style 1.x.y version scheme used up to 1.20.x for backwards compatibility
release = 1 * 10000000 + major * 100000 + minor * 1000 + patch