mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 09:22:18 +00:00
git: ignore git tags starting with 'ext/' when getting the version tag
Allows for external/extra tags
This commit is contained in:
@@ -37,7 +37,7 @@ header = """
|
||||
|
||||
|
||||
# PX4
|
||||
git_tag = subprocess.check_output('git describe --always --tags --dirty'.split(),
|
||||
git_tag = subprocess.check_output('git describe --exclude ext/* --always --tags --dirty'.split(),
|
||||
stderr=subprocess.STDOUT).decode('utf-8').strip()
|
||||
if validate:
|
||||
if verbose:
|
||||
|
||||
Reference in New Issue
Block a user