mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-21 00:22:56 +00:00
Merge branch '2.2' into 3.0
# Conflicts: # gns3server/version.py
This commit is contained in:
@ -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