Skip to content

Commit 613f1e8

Browse files
committed
adding fall back for version
1 parent c60f7b7 commit 613f1e8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CPAC/info.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ def get_cpac_gitversion() -> str | None:
6868
"git describe --always", shell=True, cwd=gitpath, stdout=subprocess.PIPE
6969
).communicate()
7070
except Exception:
71+
ver = "0.0.0.dev"
7172
pass
7273
else:
7374
ver = o.decode().strip().split("-")[-1]

0 commit comments

Comments
 (0)