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

GONRG-3618: Local build setup

parent 51f0bf0a
Pipeline #75292 passed with stages
in 2 minutes and 38 seconds
......@@ -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