From be5ff9affb160bfa7a008b2d0b0bc2432a96e75c Mon Sep 17 00:00:00 2001 From: Gage Larsen <37311335+gagelarsen@users.noreply.github.com> Date: Wed, 6 Apr 2022 09:53:03 -0600 Subject: [PATCH 1/2] Add switch for gitlab builds --- xmsconan/build_helpers.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xmsconan/build_helpers.py b/xmsconan/build_helpers.py index 894e2fe..af86f52 100644 --- a/xmsconan/build_helpers.py +++ b/xmsconan/build_helpers.py @@ -27,6 +27,9 @@ def get_builder(library_name): aquapi_username = os.getenv('AQUAPI_USERNAME', None) aquapi_password = os.getenv('AQUAPI_PASSWORD', None) aquapi_url = os.getenv('AQUAPI_URL', None) + + if ci_commit_tag != 'False': + release_python = 'True' for settings, options, env_vars, _, _ in builder.items: # General Options From 4806a8d6caba93f5505858744e83e4a543f13d9b Mon Sep 17 00:00:00 2001 From: Gage Larsen <37311335+gagelarsen@users.noreply.github.com> Date: Wed, 6 Apr 2022 09:58:30 -0600 Subject: [PATCH 2/2] remove whitespace --- xmsconan/build_helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmsconan/build_helpers.py b/xmsconan/build_helpers.py index af86f52..3ca5e63 100644 --- a/xmsconan/build_helpers.py +++ b/xmsconan/build_helpers.py @@ -27,7 +27,7 @@ def get_builder(library_name): aquapi_username = os.getenv('AQUAPI_USERNAME', None) aquapi_password = os.getenv('AQUAPI_PASSWORD', None) aquapi_url = os.getenv('AQUAPI_URL', None) - + if ci_commit_tag != 'False': release_python = 'True'