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 629733e commit 54cec40Copy full SHA for 54cec40
build.py
@@ -27,7 +27,7 @@ def clone(branch: str, tmp_dir: str) -> None:
27
28
29
def get_commit_hash(tmp_dir: str) -> str:
30
- ps = subprocess.run(["git", "rev-parse", "--short", "HEAD"], cwd=tmp_dir, capture_output=True)
+ ps = subprocess.run(["git", "rev-parse", "HEAD"], cwd=tmp_dir, capture_output=True)
31
if ps.returncode != 0:
32
raise SystemExit(ps.returncode)
33
return ps.stdout.decode("utf-8").strip()
0 commit comments