[totem/wip/hadess/bump-version: 1/2] build: Bump version number
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem/wip/hadess/bump-version: 1/2] build: Bump version number
- Date: Thu, 6 May 2021 10:24:19 +0000 (UTC)
commit 7330b9a16c373f3c76a68c922ca3b8f778c0e1a7
Author: Bastien Nocera <hadess hadess net>
Date: Fri Apr 30 21:56:32 2021 +0200
build: Bump version number
meson.build | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
---
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]