We use annotated tags now, so git describe no longer needs --tags to work
This commit is contained in:
parent
ecc264cbff
commit
5f70d387a5
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Reference in a new issue