Commit 8aa645ae authored by Florian Müllner's avatar Florian Müllner
Browse files

build: Adjust shell-version

With the new version scheme, only the major version is relevant as
far as gnome-shell is concerned. However the extension website does
not handle that at the moment, so always append a ".0".
parent 20540cb8
Pipeline #267729 passed with stages
in 45 seconds
......@@ -22,11 +22,7 @@ sessiondir = join_paths(datadir, 'gnome-session', 'sessions')
xsessiondir = join_paths(datadir, 'xsessions')
ver_arr = meson.project_version().split('.')
if ver_arr[1].version_compare('>=0')
shell_version = ver_arr[0]
else # pre-release (alpha, beta, rc)
shell_version = '.'.join(ver_arr)
shell_version = '@0@.0'.format(ver_arr[0])
uuid_suffix = ''
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment