extensions-app: Include commit hash in nightly version

It's useful information for development snapshots, so include
it when building from a git checkout.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3612

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1661>
This commit is contained in:
Florian Müllner 2021-01-22 22:07:42 +01:00
parent 60d640189b
commit 6bea1e7a47
2 changed files with 7 additions and 1 deletions

View file

@ -6,8 +6,10 @@ project('gnome-extensions-app',
if get_option('profile') == 'development'
profile = '.Devel'
vcs_tag = run_command('git', 'rev-parse', '--short', '@').stdout().strip()
else
profile = ''
vcs_tag = ''
endif
base_id = 'org.gnome.Extensions'