From c367fcd4df4311a98d2ae5f19b72f2f1aac826b8 Mon Sep 17 00:00:00 2001 From: ludo Date: Fri, 15 Jan 2021 19:18:44 +0800 Subject: [PATCH] mac notarization --- CI/full-build-macos.sh | 3 +++ azure-pipelines.yml | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/CI/full-build-macos.sh b/CI/full-build-macos.sh index eb1304b50..eb9b69a70 100755 --- a/CI/full-build-macos.sh +++ b/CI/full-build-macos.sh @@ -481,6 +481,9 @@ read_codesign_pass() { xcrun altool --store-password-in-keychain-item "OBS-Codesign-Password" -u "${CODESIGN_IDENT_USER}" -p "${CODESIGN_IDENT_PASS}" echo -n "${COLOR_RESET}" CODESIGN_IDENT_SHORT=$(echo "${CODESIGN_IDENT}" | sed -En "s/.+\((.+)\)/\1/p") + else + xcrun altool --store-password-in-keychain-item "OBS-Codesign-Password" -u "${CODESIGN_IDENT_USER}" -p "${CODESIGN_IDENT_PASS}" + CODESIGN_IDENT_SHORT=$(echo "${CODESIGN_IDENT}" | sed -En "s/.+\((.+)\)/\1/p") fi } diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 8775aea65..749ad50e3 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -34,10 +34,6 @@ jobs: pool: vmImage: 'macOS-10.15' steps: - - task: AzureKeyVault@1 - inputs: - azureSubscription: azure-cosmo - keyVaultName: cosmo-secrets - task: InstallAppleCertificate@2 inputs: certSecureFile: Certificates.p12