1
0
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:
Dudemanguy 2025-02-02 12:31:40 -06:00
parent 28ab3aec6a
commit 8e97f41849

View File

@ -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@',