Fix version for debian package in CI

This commit is contained in:
Patrick Nicolas committed 2026-01-24 21:54:13 +01:00
1 parent cd614c2361
commit 6fcc19d198
1 file changed
+4 -1
+4 -1
View File
@@ -52,7 +52,10 @@ def main():
if args.nightly:
version = subprocess.check_output(["git", "describe", "--tags", "--always"]).decode().strip()
version = version[1:] # remove the initial "v"
if version[0] == 'v':
version = version[1:] # remove the initial "v"
else:
version = '0-' + version
write_entry(
out=args.out,
version=version,