mirror of
https://github.com/WiVRn/WiVRn.git
synced 2026-11-20 09:01:39 -08:00
Fix version for debian package in CI
This commit is contained in:
1 parent
cd614c2361
commit
6fcc19d198
1 file changed
+4
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user