From 038b5c92d3c960c6ffb897e59a9c762988043b03 Mon Sep 17 00:00:00 2001 From: Ganeshwara Herawan Hananda Date: Mon, 1 Apr 2019 18:16:54 +0100 Subject: [PATCH] assemble-mac - Fix Apple certificate signing issue (#112) ## What is the goal of this PR? The Apple Certificate signing in the `assemble-mac` CI job is broken. This PR fixes that ## What are the changes implemented in this PR? Define the environment variables containing the certificate appropriately --- .circleci/config.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 08793c06f..651985650 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -105,9 +105,11 @@ jobs: steps: - install-bazel-mac - checkout - - run: CSC_LINK="$APPLE_CODE_SIGNING_CERTIFICATE_URL" CSC_KEY_PASSWORD="$APPLE_CODE_SIGNING_PASSWORD" - run: bazel run @nodejs//:npm install - - run: bazel run @nodejs//:npm run build + - run: | + export CSC_LINK="$APPLE_CODE_SIGNING_CERTIFICATE_URL" + export CSC_KEY_PASSWORD="$APPLE_CODE_SIGNING_PASSWORD" + bazel run @nodejs//:npm run build - run: mkdir -p ~/distribution && mv ./build/*.dmg ~/distribution/grakn-workbase-mac-$(cat VERSION).dmg - persist_to_workspace: root: ~/distribution