Skip to content

Commit 7da85f5

Browse files
committed
Strip a newline from the version tag.
1 parent 2b739e1 commit 7da85f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/build_board_info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def get_version_info():
6565
version = None
6666
sha = git("rev-parse", "--short", "HEAD").stdout.decode("utf-8")
6767
try:
68-
version = git("describe", "--tags", "--exact-match").stdout.decode("utf-8")
68+
version = git("describe", "--tags", "--exact-match").stdout.decode("utf-8").strip()
6969
except sh.ErrorReturnCode_128:
7070
# No exact match
7171
pass

0 commit comments

Comments
 (0)