From 7aed9ddc0bfe7af0da42917fb1b0a02ea02e1634 Mon Sep 17 00:00:00 2001 From: Chris Marslender Date: Thu, 18 May 2023 11:18:45 -0700 Subject: [PATCH] Enable signing for PRs that have secret access (#15331) * Enable signing for PRs that have secret access * Add CSC_FOR_PULL_REQUEST var as well --- build_scripts/build_macos-2-installer.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build_scripts/build_macos-2-installer.sh b/build_scripts/build_macos-2-installer.sh index 1f2818f6064e..a827e0f811c6 100644 --- a/build_scripts/build_macos-2-installer.sh +++ b/build_scripts/build_macos-2-installer.sh @@ -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