makeversionhdr: Pick out a circuitpython-style tag
This commit is contained in:
parent
53c5bde924
commit
132107c258
@ -23,7 +23,7 @@ def get_version_info_from_git():
|
||||
# Note: git describe doesn't work if no tag is available
|
||||
try:
|
||||
git_tag = subprocess.check_output(
|
||||
["git", "describe", "--tags", "--dirty", "--always", "--match", "v[1-9].*"],
|
||||
["git", "describe", "--tags", "--dirty", "--always", "--match", "[1-9].*"],
|
||||
stderr=subprocess.STDOUT,
|
||||
universal_newlines=True,
|
||||
).strip()
|
||||
|
Loading…
x
Reference in New Issue
Block a user