Skip to content

Commit 132107c

Browse files
committed
makeversionhdr: Pick out a circuitpython-style tag
1 parent 53c5bde commit 132107c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/makeversionhdr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def get_version_info_from_git():
2323
# Note: git describe doesn't work if no tag is available
2424
try:
2525
git_tag = subprocess.check_output(
26-
["git", "describe", "--tags", "--dirty", "--always", "--match", "v[1-9].*"],
26+
["git", "describe", "--tags", "--dirty", "--always", "--match", "[1-9].*"],
2727
stderr=subprocess.STDOUT,
2828
universal_newlines=True,
2929
).strip()

0 commit comments

Comments
 (0)