mirror of
https://github.com/deltachat/deltachat-core.git
synced 2025-10-05 10:39:27 +02:00
this seems to be needed for git describe to ignore "py" tags which relate to python bindings not core
This commit is contained in:
parent
41c4f1c911
commit
f8019af4f6
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ project(
|
||||||
version = meson.project_version()
|
version = meson.project_version()
|
||||||
git = find_program('git', required: false)
|
git = find_program('git', required: false)
|
||||||
if git.found()
|
if git.found()
|
||||||
git_desc = run_command(git, 'describe', '--tags')
|
git_desc = run_command(git, 'describe', '--tags', '--match=v*')
|
||||||
if git_desc.returncode() == 0
|
if git_desc.returncode() == 0
|
||||||
git_desc_parts = git_desc.stdout().strip().split('-')
|
git_desc_parts = git_desc.stdout().strip().split('-')
|
||||||
version = git_desc_parts[0].split('v')[1]
|
version = git_desc_parts[0].split('v')[1]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue