summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbderrahim Kitouni <akitouni@gnome.org>2020-09-12 06:26:32 +0100
committerAbderrahim Kitouni <akitouni@gnome.org>2020-09-12 06:26:32 +0100
commitdf1f3d524f75c74e1e24305b283ea050d602603f (patch)
tree8e212ad46e07ec19a762a457228ceca1f21b15e8
parent7e038bdb3412d1c7aa25fca5e92ade2806d05bbb (diff)
downloadepiphany-abderrahim/version-bump.tar.gz
Post-release version bump to new version schemeabderrahim/version-bump
-rw-r--r--meson.build10
1 files changed, 7 insertions, 3 deletions
diff --git a/meson.build b/meson.build
index 2b570a6a2..da852ceb5 100644
--- a/meson.build
+++ b/meson.build
@@ -1,6 +1,6 @@
project('epiphany', 'c',
license: 'GPL3+',
- version: '3.38.0',
+ version: '40.alpha',
meson_version: '>= 0.46.0',
default_options: ['c_std=gnu11',
'warning_level=2']
@@ -58,8 +58,12 @@ conf.set10('TECH_PREVIEW', tech_preview)
version_array = meson.project_version().split('.')
conf.set('EPHY_MAJOR_VERSION', version_array[0].to_int())
-conf.set('EPHY_MINOR_VERSION', version_array[1].to_int())
-conf.set('EPHY_MICRO_VERSION', version_array[2].to_int())
+if version_array[1] in ['alpha', 'beta']
+ conf.set('EPHY_MINOR_VERSION', 0)
+else
+ conf.set('EPHY_MINOR_VERSION', version_array[1].to_int())
+endif
+conf.set('EPHY_MICRO_VERSION', 0)
conf.set_quoted('VERSION', '@VCS_TAG@')