mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-04 22:41:12 +02:00
Merge branch '2.2' into 3.0
# Conflicts: # gns3server/version.py
This commit is contained in:
commit
e86d8f96ca
14 files changed
+159
-54
No files matched your search
@@ -29,7 +29,6 @@ if "dev" in __version__:
|
||||
try:
|
||||
import os
|
||||
import subprocess
|
||||
|
||||
if os.path.exists(os.path.join(os.path.dirname(os.path.abspath(__file__)), "..", ".git")):
|
||||
r = subprocess.check_output(["git", "rev-parse", "--short", "HEAD"]).decode().strip()
|
||||
__version__ = f"{__version__}-{r}"
|
||||
|
||||
Reference in new issue
Block a user