summaryrefslogtreecommitdiffstats
path: root/g4f/version.py
diff options
context:
space:
mode:
Diffstat (limited to 'g4f/version.py')
-rw-r--r--g4f/version.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/g4f/version.py b/g4f/version.py
index aa9c50ce..eff72303 100644
--- a/g4f/version.py
+++ b/g4f/version.py
@@ -76,12 +76,10 @@ class VersionUtils:
# Read from docker environment
version = environ.get("G4F_VERSION")
- version = "0.3.3.6"
if version:
return version
- # Read from git repository
- try:
+ # Read from git repository try:
command = ["git", "describe", "--tags", "--abbrev=0"]
return check_output(command, text=True, stderr=PIPE).strip()
except CalledProcessError: