mirror of
https://github.com/mpv-player/mpv
synced 2025-03-11 08:37:59 +00:00
build: prepend version strings with 'v' for release tarball builds
This was an inconsistency with the git tagging since the meson project version is just a number.
This commit is contained in:
parent
28ab3aec6a
commit
8e97f41849
@ -3,6 +3,7 @@ version_h = vcs_tag(
|
||||
'--git-dir=' + join_paths(source_root, '.git'),
|
||||
'--work-tree=' + source_root,
|
||||
'describe', '--always', '--tags', '--dirty'],
|
||||
fallback: 'v' + meson.project_version(),
|
||||
input: 'version.h.in',
|
||||
output: 'version.h',
|
||||
replace_string: '@VERSION@',
|
||||
|
Loading…
Reference in New Issue
Block a user