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



commit 96a1de92db697d92e59822a74a7f5f550136d672
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 759ee87..413645f 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]