We use annotated tags now, so git describe no longer needs --tags to work

This commit is contained in:
Thulinma 2023-06-22 22:07:32 +02:00
parent ecc264cbff
commit 5f70d387a5

View file

@ -15,7 +15,7 @@ release = release.strip()
# Falls back to a file called "VERSION" or the string "Unknown" otherwise
git = find_program('git', required: false)
if git.found()
rv = run_command(git, 'describe', '--tags', check: false)
rv = run_command(git, 'describe', check: false)
version = rv.stdout().strip()
if rv.returncode() != 0
fs = import('fs')