Fixes DMG code signing

This commit is contained in:
Dmitry Vedenko 2022-01-26 19:41:45 +03:00
parent ea15726a75
commit 25eef3bfad
No known key found for this signature in database
GPG Key ID: F4C37A6204F983A2
2 changed files with 2 additions and 2 deletions

View File

@ -96,7 +96,7 @@ async function singApp(appLocation, identity) {
} }
async function signDMG(dmgPath, appIdentifier, codesignIdentifier) { async function signDMG(dmgPath, appIdentifier, codesignIdentifier) {
if (!identity) { if (!codesignIdentifier) {
helpers.log("Skipping code signings, as there is no codesign identity provided"); helpers.log("Skipping code signings, as there is no codesign identity provided");
return ; return ;
} }

View File

@ -90,7 +90,7 @@ async function singApp(appLocation, identity) {
} }
async function signDMG(dmgPath, appIdentifier, codesignIdentifier) { async function signDMG(dmgPath, appIdentifier, codesignIdentifier) {
if (!identity) { if (!codesignIdentifier) {
helpers.log("Skipping code signings, as there is no codesign identity provided"); helpers.log("Skipping code signings, as there is no codesign identity provided");
return ; return ;
} }