File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -19,13 +19,16 @@ jobs:
1919 - checkout
2020 - run : sudo npm i -g yarn
2121 - run : |
22- security create-keychain -p travis build.keychain
23- security default-keychain -s build.keychain
24- security unlock-keychain -p travis build.keychain
25- echo $CERTIFICATE_OSX_P12 | base64 --decode > certificate.p12
26- security import certificate.p12 -k build.keychain -P $CERTIFICATE_OSX_PASSWORD -T /usr/bin/codesign
27- # needed for signing in CI environments (don't ask...)
28- security set-key-partition-list -S apple-tool:,apple: -s -k travis build.keychain
22+ if [[ -z "$CIRCLE_PULL_REQUEST" && "$CIRCLE_BRANCH" == "master" ]]
23+ then
24+ security create-keychain -p travis build.keychain
25+ security default-keychain -s build.keychain
26+ security unlock-keychain -p travis build.keychain
27+ echo $CERTIFICATE_OSX_P12 | base64 --decode > certificate.p12
28+ security import certificate.p12 -k build.keychain -P $CERTIFICATE_OSX_PASSWORD -T /usr/bin/codesign
29+ # needed for signing in CI environments (don't ask...)
30+ security set-key-partition-list -S apple-tool:,apple: -s -k travis build.keychain
31+ fi
2932 - run : sudo npm i -g yarn
3033 # needed for release process
3134 - run : brew install gettext
You can’t perform that action at this time.
0 commit comments