Skip to content

Commit 4cbf46b

Browse files
committed
Debug OSX signing and notarization
1 parent 7be5c2c commit 4cbf46b

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/scripts/notarize-osx-distro-file.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ dmg_filename="$(basename -- $dmg_file)"
77
dir="$(dirname "$dmg_file")"
88

99
cd $dir
10-
xcrun notarytool submit ./${dmg_filename} --keychain-profile $notarize_profile --wait
10+
submission_id=`xcrun notarytool submit ./${dmg_filename} --keychain-profile $notarize_profile --wait --no-progress -f json | jq -r .id`
11+
echo $submission_id
12+
xcrun notarytool log --keychain-profile $notarize_profile $submission_id
1113
echo "Staple and generate checksums for ${dmg_filename}"
1214
xcrun stapler staple $dmg_filename
1315
if [ $? -eq 0 ]; then

.github/scripts/sign-osx-distro-file.sh

+3
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ done
5252
ls -la ${dir}/${destination_folder_name}/SpringToolSuite4.app/
5353
codesign --verbose --deep --force --timestamp --entitlements "${entitlements}" --options=runtime --keychain "${KEYCHAIN}" -s "${MACOS_CERTIFICATE_ID}" ${dir}/${destination_folder_name}/SpringToolSuite4.app
5454

55+
#Verify codesign
56+
codesign --verify --deep --verbose ${dir}/${destination_folder_name}/SpringToolSuite4.app
57+
5558
cd ${dir}/${destination_folder_name}
5659
echo "Generating dmg-config.json..."
5760
echo '{' >> dmg-config.json

0 commit comments

Comments
 (0)