build: bump version for development

This will also attempt to get us on the more modern GNOME versioning
train, hopefully to phase out micro numbers eventually.
This commit is contained in:
Christian Hergert
2023-04-24 17:26:41 -07:00
parent a13d66f2d0
commit cc7e2820f3
2 changed files with 5 additions and 2 deletions

View File

@ -3,6 +3,9 @@ sysprof_ui_header_subdir = 'sysprof-ui-@0@'.format(libsysprof_ui_api_version)
sysprof_version_conf = configuration_data()
sysprof_version = meson.project_version().split('.')
if sysprof_version[1] in ['alpha', 'beta', 'rc']
sysprof_version = [sysprof_version[0], 0, 0]
endif
sysprof_version_conf.set('MAJOR_VERSION', sysprof_version[0])
sysprof_version_conf.set('MINOR_VERSION', sysprof_version[1])
sysprof_version_conf.set('MICRO_VERSION', sysprof_version[2])