fix for computing version numbers from git repo

This commit is contained in:
adam j hartz 2025-07-11 07:05:50 -04:00
commit 45042d5292
Signed by: hz
GPG key ID: B63A0A59F5C82493

View file

@ -82,7 +82,9 @@ def dev_number():
for t in raw_tags:
t = t.strip()
tags[t] = (
subprocess.check_output(["git", "rev-parse", t]).decode("ascii").strip()
subprocess.check_output(["git", "rev-parse", "%s^{}" % t])
.decode("ascii")
.strip()
)
try:
sha = (