[gnome-shell-extensions] Bump version to 40.alpha



commit 7c30f35b12728cfa754fd05098ad43c089d880c6
Author: Florian Müllner <fmuellner gnome org>
Date:   Mon Oct 5 15:43:44 2020 +0200

    Bump version to 40.alpha
    
    The GNOME project has adopted a new versioning scheme[0], and
    GNOME 3.38 will be followed by GNOME 40.
    
    Open the new development cycle by switching to the new scheme, as
    well as to post-release bumps as recommended.
    
    [0] https://discourse.gnome.org/t/new-gnome-versioning-scheme/4235
    
    https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/131

 meson.build | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/meson.build b/meson.build
index f07b82e..10be57b 100644
--- a/meson.build
+++ b/meson.build
@@ -1,5 +1,5 @@
 project('gnome-shell-extensions',
-  version: '3.38.1',
+  version: '40.alpha',
   meson_version: '>= 0.44.0',
   license: 'GPL2+'
 )
@@ -21,9 +21,9 @@ sessiondir = join_paths(datadir, 'gnome-session', 'sessions')
 xsessiondir = join_paths(datadir, 'xsessions')
 
 ver_arr = meson.project_version().split('.')
-if ver_arr[1].to_int().is_even()
-  shell_version = '@0@.@1@'.format(ver_arr[0], ver_arr[1])
-else
+if ver_arr[1].version_compare('>=0')
+  shell_version = ver_arr[0]
+else # pre-release (alpha, beta, rc)
   shell_version = '.'.join(ver_arr)
 endif
 


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