Skip to content

Commit

Permalink
FIXUP: Use longer tag description, so that the commit is always shown
Browse files Browse the repository at this point in the history
  • Loading branch information
apyrgio committed Dec 4, 2024
1 parent eefe7c1 commit 2f438c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install/common/build-image.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 2f438c0

Please sign in to comment.