mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
added debug github version for release
This commit is contained in:
@@ -10,6 +10,7 @@ def get_version():
|
||||
github_version = os.environ.get('GITHUB_REF_NAME', None)
|
||||
is_release = os.environ.get('IS_RELEASE', None)
|
||||
if is_release is not None and github_version is not None:
|
||||
print(f"GITHUB_REF_NAME found, using version: {github_version}")
|
||||
return github_version
|
||||
return default_version(local_scheme=local_scheme)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user