FIXUP: Use longer tag description, so that the commit is always shown

This commit is contained in:
Alex Pyrgiotis 2024-12-04 17:37:45 +02:00
parent eefe7c15ce
commit 2f438c09f1
No known key found for this signature in database
GPG key ID: B6C15EBA0357C9AA

View file

@ -59,7 +59,7 @@ def main():
dirty_ident = secrets.token_hex(2)
tag = (
subprocess.check_output(
["git", "describe", "--first-parent", f"--dirty=-{dirty_ident}"],
["git", "describe", "--long", "--first-parent", f"--dirty=-{dirty_ident}"],
)
.decode()
.strip()[1:] # remove the "v" prefix of the tag.