Skip to content

Commit

Permalink
Migrate from altool to notarytool
Browse files Browse the repository at this point in the history
  • Loading branch information
christopher-rtf committed Jun 26, 2023
1 parent e55a504 commit b723ce2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion notarize.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/bin/bash

# see: https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution
# see: https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution/customizing_the_notarization_workflow
# see: https://developer.apple.com/documentation/technotes/tn3147-migrating-to-the-latest-notarization-tool

BRANCH="${BRANCH}"
BRANCH_NAME="${BRANCH_NAME}"

Expand Down Expand Up @@ -43,7 +47,7 @@ parseStatus()
# Parse the RequestUUID field from output
parseRequestUuid()
{
echo "$1" | awk -F "id: " '{ print $NF; }' | tail -1 | tr -d "[:space:]"
echo "$1" | awk '/id/ { print $NF; }' | tail -1 | tr -d "[:space:]"
}

toLower()
Expand Down

0 comments on commit b723ce2

Please sign in to comment.