mirror of
https://github.com/GradienceTeam/Gradience.git
synced 2024-07-01 00:49:56 +00:00
Attempt to fix git versioning
This commit is contained in:
parent
470930db36
commit
6c2be5dc4a
|
@ -1,5 +1,5 @@
|
||||||
project('adwcustomizer',
|
project('adwcustomizer',
|
||||||
version: 'git-' + run_command('git', 'rev-parse', '--short', 'HEAD', check: true).stdout().strip(),
|
version: 'git',
|
||||||
meson_version: '>= 0.59.0',
|
meson_version: '>= 0.59.0',
|
||||||
default_options: [ 'warning_level=2',
|
default_options: [ 'warning_level=2',
|
||||||
'werror=false',
|
'werror=false',
|
||||||
|
|
|
@ -27,7 +27,7 @@ python = import('python')
|
||||||
|
|
||||||
conf = configuration_data()
|
conf = configuration_data()
|
||||||
conf.set('PYTHON', python.find_installation('python3').path())
|
conf.set('PYTHON', python.find_installation('python3').path())
|
||||||
conf.set('VERSION', meson.project_version())
|
conf.set('VERSION', 'git-' + run_command('git', 'rev-parse', '--short', 'HEAD', check: true).stdout().strip())
|
||||||
conf.set('localedir', join_paths(get_option('prefix'), get_option('localedir')))
|
conf.set('localedir', join_paths(get_option('prefix'), get_option('localedir')))
|
||||||
conf.set('pkgdatadir', pkgdatadir)
|
conf.set('pkgdatadir', pkgdatadir)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue