mirror of
https://github.com/WiVRn/WiVRn.git
synced 2026-11-26 11:56:47 -08:00
don't fail on repos with no tags
This commit is contained in:
1 parent
f59015654c
commit
d90baecfef
1 file changed
+1
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user