Skip to content

Commit

Permalink
Merge pull request #7 from tannewt/fix_common_case
Browse files Browse the repository at this point in the history
Fix common case.
  • Loading branch information
dhalbert authored Dec 27, 2017
2 parents 4f264c7 + b95dadd commit a6489f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion circuitpython_build_tools/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def version_string(path=None, *, valid_semver=False):
describe = subprocess.run("git describe --tags --always", shell=True, stdout=subprocess.PIPE, cwd=path)
describe = describe.stdout.strip().decode("utf-8", "strict").rsplit("-", maxsplit=2)
if len(describe) == 3:
tag, additional_commits, commitish = describe.stdout.strip().decode("utf-8", "strict").rsplit("-", maxsplit=2)
tag, additional_commits, commitish = describe
commitish = commitish[1:]
else:
tag = "0.0.0"
Expand Down

0 comments on commit a6489f9

Please sign in to comment.