Commit b3085042 authored by Yan Sushchynski (EPAM)'s avatar Yan Sushchynski (EPAM)
Browse files

GONRG-3618: Local build setup

parent 47818a0c
Pipeline #74362 passed with stages
in 3 minutes and 57 seconds
**/.idea
**/.DS_Store
.vscode
# Byte-compiled / optimized / DLL files
**/__pycache__/
......
......@@ -27,7 +27,9 @@ def get_version_from_file():
def prepare_version():
version = os.getenv("BUILD_TAG", '')
if version.startswith('v'):
if not version:
version = get_version_from_file()
elif version.startswith('v'):
# release tag version, e.g. v0.9.0
version = version[1:]
else:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment