Skip to content

Commit

Permalink
assemble-mac - Fix Apple certificate signing issue (#112)
Browse files Browse the repository at this point in the history
## 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
  • Loading branch information
Ganeshwara Herawan Hananda authored and haikalpribadi committed Apr 1, 2019
1 parent 541885b commit 038b5c9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 038b5c9

Please sign in to comment.