From 6db02e4362be371dae2c2a21820651853ed5aef9 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Fri, 22 Feb 2019 21:29:09 -0500 Subject: [PATCH] show build type setting when building --- scripts/set_build.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/set_build.py b/scripts/set_build.py index afebdbbaa..f4b4d4253 100644 --- a/scripts/set_build.py +++ b/scripts/set_build.py @@ -18,12 +18,15 @@ def get_build(): try: tag = subprocess.check_output(['git', 'describe', '--exact-match', '--all']).strip() if re.match('tags\/v\d+\.\d+\.\d+rc\d+$', tag.decode()): + print('Build: rc') return 'rc' elif re.match('tags\/v\d+\.\d+\.\d+$', tag.decode()): + print('Build: release') return 'release' + print('Build: qa') return 'qa' except subprocess.CalledProcessError: - # if the build doesn't have a tag + print("Couldn't determine build type, defaulting to qa.") return 'qa'