Skip to content

Commit a6489f9

Browse files
authored
Merge pull request #7 from tannewt/fix_common_case
Fix common case.
2 parents 4f264c7 + b95dadd commit a6489f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

circuitpython_build_tools/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def version_string(path=None, *, valid_semver=False):
4141
describe = subprocess.run("git describe --tags --always", shell=True, stdout=subprocess.PIPE, cwd=path)
4242
describe = describe.stdout.strip().decode("utf-8", "strict").rsplit("-", maxsplit=2)
4343
if len(describe) == 3:
44-
tag, additional_commits, commitish = describe.stdout.strip().decode("utf-8", "strict").rsplit("-", maxsplit=2)
44+
tag, additional_commits, commitish = describe
4545
commitish = commitish[1:]
4646
else:
4747
tag = "0.0.0"

0 commit comments

Comments
 (0)