From 01baa193d536bac4e7af726242eb9032b35d42ba Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Mon, 22 Oct 2018 20:58:52 -0400 Subject: [PATCH] fix set_build --- scripts/set_build.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/set_build.py b/scripts/set_build.py index 1ec18335b..6f4b8a22e 100644 --- a/scripts/set_build.py +++ b/scripts/set_build.py @@ -19,8 +19,9 @@ def get_build(): tag = subprocess.check_output(['git', 'describe', '--exact-match', '--all']).strip() if re.match('v\d+\.\d+\.\d+rc\d+', tag.decode()): return 'rc' - else: + elif re.match('v\d+\.\d+\.\d+$', tag.decode()): return 'release' + return 'qa' except subprocess.CalledProcessError: # if the build doesn't have a tag return 'qa'