[epiphany/abderrahim/version-bump] Post-release version bump to new version scheme




commit df1f3d524f75c74e1e24305b283ea050d602603f
Author: Abderrahim Kitouni <akitouni gnome org>
Date:   Sat Sep 12 06:26:32 2020 +0100

    Post-release version bump to new version scheme

 meson.build | 10 +++++++---
 1 file 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@')
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]