aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-05-24 12:13:54 +0200
committerSimon Ser <contact@emersion.fr>2022-05-24 15:04:14 +0200
commit078d8dd472259f341f5efc7ac8f38347b3732cc0 (patch)
tree5dd41783fa8e09bc9ee18b19615d75ab005e4d3e
parent41124592dd55b11e39a18b0aa843511e3e4597bb (diff)
build: bump version to 0.16.0-dev
Same as [1]. [1]: https://github.com/swaywm/sway/pull/6730
-rw-r--r--include/wlr/meson.build3
-rw-r--r--meson.build2
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: [