]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
ukify: Use VERSION_TAG instead of GIT_VERSION
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 23 Feb 2024 15:39:18 +0000 (16:39 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 26 Feb 2024 10:37:40 +0000 (11:37 +0100)
GIT_VERSION isn't actually available so use VERSION_TAG instead which
is available.

src/ukify/ukify.py

index e5724c8ac20d084d009cd2e09464c41c9362c79c..1d6ad15383db01189c28b72b7fa1927fe7a09885 100755 (executable)
@@ -50,7 +50,7 @@ from typing import (Any,
 
 import pefile  # type: ignore
 
-__version__ = '{{PROJECT_VERSION_FULL}} ({{GIT_VERSION}})'
+__version__ = '{{PROJECT_VERSION_FULL}} ({{VERSION_TAG}})'
 
 EFI_ARCH_MAP = {
     # host_arch glob : [efi_arch, 32_bit_efi_arch if mixed mode is supported]