From d90baecfef6866a41fdd3e55b6ff7e4ea288b1ed Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Sun, 18 May 2025 21:40:02 +0200 Subject: [PATCH] don't fail on repos with no tags --- tools/gen_debian_changelog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gen_debian_changelog.py b/tools/gen_debian_changelog.py index 6ab41130..30a72059 100755 --- a/tools/gen_debian_changelog.py +++ b/tools/gen_debian_changelog.py @@ -51,7 +51,7 @@ def main(): tree = ET.parse(args.metainfo) if args.nightly: - version = subprocess.check_output(["git", "describe", "--tags"]).decode().strip() + version = subprocess.check_output(["git", "describe", "--tags", "--always"]).decode().strip() version = version[1:] # remove the initial "v" write_entry( out=args.out,