Skip to content

Commit

Permalink
Enable signing for PRs that have secret access (#15331)
Browse files Browse the repository at this point in the history
* Enable signing for PRs that have secret access

* Add CSC_FOR_PULL_REQUEST var as well
  • Loading branch information
cmmarslender authored May 18, 2023
1 parent 9e9c759 commit 7aed9dd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build_scripts/build_macos-2-installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ if [ "$NOTARIZE" == true ]; then
echo "Setting credentials for signing"
export CSC_LINK=$APPLE_DEV_ID_APP
export CSC_KEY_PASSWORD=$APPLE_DEV_ID_APP_PASS
export PUBLISH_FOR_PULL_REQUEST=true
export CSC_FOR_PULL_REQUEST=true
else
echo "Not on ci or no secrets so not signing"
export CSC_IDENTITY_AUTO_DISCOVERY=false
Expand Down

0 comments on commit 7aed9dd

Please sign in to comment.