mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
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:
@ -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])
|
||||
|
||||
Reference in New Issue
Block a user