From ba57af550278b4aad765d5b88f4f037a7c271283 Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Mon, 22 Oct 2018 17:55:32 -0400 Subject: [PATCH] fix set_build --- scripts/set_build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/set_build.py b/scripts/set_build.py index 01470d395..1ec18335b 100644 --- a/scripts/set_build.py +++ b/scripts/set_build.py @@ -17,7 +17,7 @@ def main(): def get_build(): try: tag = subprocess.check_output(['git', 'describe', '--exact-match', '--all']).strip() - if re.match('v\d+\.\d+\.\d+rc\d+', tag): + if re.match('v\d+\.\d+\.\d+rc\d+', tag.decode()): return 'rc' else: return 'release'