We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f264c7 commit b95daddCopy full SHA for b95dadd
circuitpython_build_tools/build.py
@@ -41,7 +41,7 @@ def version_string(path=None, *, valid_semver=False):
41
describe = subprocess.run("git describe --tags --always", shell=True, stdout=subprocess.PIPE, cwd=path)
42
describe = describe.stdout.strip().decode("utf-8", "strict").rsplit("-", maxsplit=2)
43
if len(describe) == 3:
44
- tag, additional_commits, commitish = describe.stdout.strip().decode("utf-8", "strict").rsplit("-", maxsplit=2)
+ tag, additional_commits, commitish = describe
45
commitish = commitish[1:]
46
else:
47
tag = "0.0.0"
0 commit comments