Skip to content

Commit 54cec40

Browse files
committed
fix commit hash in commit message autolink
1 parent 629733e commit 54cec40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def clone(branch: str, tmp_dir: str) -> None:
2727

2828

2929
def get_commit_hash(tmp_dir: str) -> str:
30-
ps = subprocess.run(["git", "rev-parse", "--short", "HEAD"], cwd=tmp_dir, capture_output=True)
30+
ps = subprocess.run(["git", "rev-parse", "HEAD"], cwd=tmp_dir, capture_output=True)
3131
if ps.returncode != 0:
3232
raise SystemExit(ps.returncode)
3333
return ps.stdout.decode("utf-8").strip()

0 commit comments

Comments
 (0)