From aaa8aec946c0c1ecc964ae806642442e96210493 Mon Sep 17 00:00:00 2001 From: Vanessa Yuen Date: Tue, 24 Oct 2017 12:42:45 -0400 Subject: [PATCH] trying out parameterized builds in circle --- .circleci/config.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a43cb917fa..5841bb3931 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -19,6 +19,10 @@ jobs: case ${MESSAGE} in Bump* ) echo 'export ELECTRON_RELEASE=1' >> $BASH_ENV esac + if [ -n "${RUN_RELEASE_BUILD}" ]; then + echo 'release build triggered from api' + echo 'export ELECTRON_RELEASE=1' >> $BASH_ENV + fi - run: name: Bootstrap command: | @@ -63,7 +67,7 @@ jobs: - image: electronbuilds/electron:0.0.3 environment: TARGET_ARCH: arm64 - resource_class: xlarge + resource_class: xlarge steps: - checkout - run: