From 078d8dd472259f341f5efc7ac8f38347b3732cc0 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 24 May 2022 12:13:54 +0200 Subject: build: bump version to 0.16.0-dev Same as [1]. [1]: https://github.com/swaywm/sway/pull/6730 --- include/wlr/meson.build | 3 ++- meson.build | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/wlr/meson.build b/include/wlr/meson.build index ae9c17a3..f7ca413d 100644 --- a/include/wlr/meson.build +++ b/include/wlr/meson.build @@ -1,4 +1,5 @@ -version_array = meson.project_version().split('.') +version_base = meson.project_version().split('-')[0] +version_array = version_base.split('.') version_data = configuration_data() version_data.set_quoted('WLR_VERSION_STR', meson.project_version()) version_data.set('WLR_VERSION_MAJOR', version_array[0]) diff --git a/meson.build b/meson.build index 2350f7da..5d45073d 100644 --- a/meson.build +++ b/meson.build @@ -1,7 +1,7 @@ project( 'wlroots', 'c', - version: '0.16.0', + version: '0.16.0-dev', license: 'MIT', meson_version: '>=0.58.1', default_options: [ -- cgit v1.2.3