[DEVOPS-1438] Migrate our mac os desktop notary tool (#5741)

* Change altool to notarytool for desktop app notarizing

* Comment for testing

* Add team id

* Try to notarize with old method

* TEst vaslues

* Change after-sign notarization option

* CHange notarization in package

* Fix

* fix

* Maybe fix

* Use altool to upload

* Re enable if after testing
This commit is contained in:
Michał Chęciński 2023-08-17 10:33:07 +02:00 committed by GitHub
parent acd169b113
commit 70f115c8f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -97,6 +97,7 @@
}, },
"dmg": { "dmg": {
"icon": "dmg.icns", "icon": "dmg.icns",
"sign": false,
"contents": [ "contents": [
{ {
"x": 150, "x": 150,

View File

@ -53,8 +53,9 @@ async function run(context) {
const appleId = process.env.APPLE_ID_USERNAME || process.env.APPLEID; const appleId = process.env.APPLE_ID_USERNAME || process.env.APPLEID;
const appleIdPassword = process.env.APPLE_ID_PASSWORD || `@keychain:AC_PASSWORD`; const appleIdPassword = process.env.APPLE_ID_PASSWORD || `@keychain:AC_PASSWORD`;
return await notarize({ return await notarize({
appBundleId: "com.bitwarden.desktop", tool: "notarytool",
appPath: appPath, appPath: appPath,
teamId: "LTZ2PFU5D6",
appleId: appleId, appleId: appleId,
appleIdPassword: appleIdPassword, appleIdPassword: appleIdPassword,
}); });