From 2f438c09f11a98edbadca89f02f426c8f4967b46 Mon Sep 17 00:00:00 2001 From: Alex Pyrgiotis Date: Wed, 4 Dec 2024 17:37:45 +0200 Subject: [PATCH] FIXUP: Use longer tag description, so that the commit is always shown --- install/common/build-image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/common/build-image.py b/install/common/build-image.py index 921a520f6..dfa32b4ce 100644 --- a/install/common/build-image.py +++ b/install/common/build-image.py @@ -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.