[gnome-shell-extensions] build: Only use major version in shell-versions



commit 861e5c0be69839fa227a7a3f77a3bf349ad3482e
Author: Florian Müllner <fmuellner gnome org>
Date:   Thu May 20 19:05:16 2021 +0200

    build: Only use major version in shell-versions
    
    The website changed its version handling again, and now takes "40.0"
    to mean "40.0, and only 40.0".
    
    Not complaining though, as "40" is more correct in my opinion anyway ...
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/172>

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 3ae60e8..60c6664 100644
--- a/meson.build
+++ b/meson.build
@@ -22,7 +22,7 @@ sessiondir = join_paths(datadir, 'gnome-session', 'sessions')
 xsessiondir = join_paths(datadir, 'xsessions')
 
 ver_arr = meson.project_version().split('.')
-shell_version = '@0@.0'.format(ver_arr[0])
+shell_version = ver_arr[0]
 
 uuid_suffix = '@gnome-shell-extensions.gcampax.github.com'
 


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