[totem/wip/hadess/bump-version: 1/2] build: Bump version number




commit 3883891dd47e8ac98ac696d62a0384bc32ef4b10
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Apr 30 21:56:32 2021 +0200

    build: Bump version number

 NEWS        | 3 +++
 meson.build | 8 +++++---
 2 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/NEWS b/NEWS
index 86377bf35..9a5831414 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,8 @@
 New features and significant updates in version...
 
+Major changes in 41.alpha.0:
+- ...
+
 Major changes in 3.38.0:
 - Translation updates
 
diff --git a/meson.build b/meson.build
index 078de15a8..29aef7465 100644
--- a/meson.build
+++ b/meson.build
@@ -1,6 +1,6 @@
 project(
   'totem', 'c',
-  version: '3.38.0',
+  version: '41.alpha.0',
   license: 'GPL2+ with exception',
   default_options: 'buildtype=debugoptimized',
   meson_version: '>= 0.50.0'
@@ -9,7 +9,7 @@ project(
 totem_version = meson.project_version()
 version_array = totem_version.split('.')
 totem_major_version = version_array[0].to_int()
-totem_minor_version = version_array[1].to_int()
+totem_minor_version = version_array[1]
 totem_micro_version = version_array[2].to_int()
 
 totem_api_version = '1.0'
@@ -225,7 +225,9 @@ endif
 
 meson.add_install_script('meson_post_install.py')
 
-is_stable = totem_minor_version.is_even()
+is_stable = (totem_minor_version != 'alpha' and
+  totem_minor_version != 'beta' and
+  totem_minor_version != 'rc')
 if is_stable
   meson.add_dist_script(
     find_program('check-news.sh').path(),


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