mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-11-05 16:04:31 +00:00
meson.build: use project version instead of hardcoding it
This will make it one less thing to change when branching.
This commit is contained in:
parent
fc5d9cbcbc
commit
b1be1fc680
1 changed files with 2 additions and 1 deletions
|
@ -97,7 +97,8 @@ if get_option('profile') == 'development'
|
|||
name_suffix = ' (Development Snapshot)'
|
||||
elif get_option('profile') == 'stable-flatpak'
|
||||
profile = 'StableFlatpak'
|
||||
name_suffix = ' (3.28 Flatpak)'
|
||||
version_array = meson.project_version().split('.')
|
||||
name_suffix = ' (@0@.@1@ Flatpak)'.format(version_array[0], version_array[1])
|
||||
else
|
||||
profile = ''
|
||||
name_suffix = ''
|
||||
|
|
Loading…
Reference in a new issue