Skip to content

Commit

Permalink
wait for notarization service + typo
Browse files Browse the repository at this point in the history
  • Loading branch information
nor0x committed Feb 1, 2024
1 parent 5ad6906 commit b198b30
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/build-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ cp -Rf bin/Release/net8.0-macos/osx-arm64/Dots.app/Contents/MonoBundle bin/Relea
cp bin/Release/net8.0-macos/osx-arm64/Dots.app/Contents/PkgInfo bin/Release/net8.0-macos/osx-arm64/publish/Dots.app/Contents/

echo "codesign Dots for macOS arm64"
APP_NAME="/Users/runner/work/Dots/Dots/src/bin/Release/ne8.0-macos/osx-arm64/publish/Dots.app"
APP_NAME="/Users/runner/work/Dots/Dots/src/bin/Release/net8.0-macos/osx-arm64/publish/Dots.app"
ENTITLEMENTS="/Users/runner/work/Dots/Dots/scripts/Dots.entitlements"

echo "[INFO]______________[INFO] Signing app files"
Expand All @@ -45,7 +45,7 @@ echo "dittoing Dots for macOS arm64"
cd /Users/runner/work/Dots/Dots/src/bin/Release/net8.0-macos/osx-arm64/publish
macosarm64file=$(echo Dots-$version-macos-arm64.zip)
ditto -c -k --sequesterRsrc --keepParent Dots.app $macosarm64file
xcrun notarytool submit $macosarm64file --apple-id $APPLE_ID --team-id $TEAM_ID --password $APP_SPECIFIC_PWD --verbose
xcrun notarytool submit $macosarm64file --apple-id $APPLE_ID --team-id $TEAM_ID --password $APP_SPECIFIC_PWD --verbose --wait

cd /Users/runner/work/Dots/Dots/src/
echo "Building Dots for macOS x64"
Expand All @@ -59,7 +59,7 @@ cp -Rf bin/Release/net8.0-macos/osx-x64/Dots.app/Contents/MonoBundle bin/Release
cp bin/Release/net8.0-macos/osx-x64/Dots.app/Contents/PkgInfo bin/Release/net8.0-macos/osx-x64/publish/Dots.app/Contents/

echo "codesign Dots for macOS x64"
APP_NAME="/Users/runner/work/Dots/Dots/src/bin/Release/ne8.0-macos/osx-x64/publish/Dots.app"
APP_NAME="/Users/runner/work/Dots/Dots/src/bin/Release/net8.0-macos/osx-x64/publish/Dots.app"
ENTITLEMENTS="/Users/runner/work/Dots/Dots/scripts/Dots.entitlements"

echo "[INFO]______________[INFO] Signing app files"
Expand All @@ -86,7 +86,7 @@ echo "dittoing Dots for macOS x64"
cd /Users/runner/work/Dots/Dots/src/bin/Release/net8.0-macos/osx-x64/publish
macosx64file=$(echo Dots-$version-macos-x64.zip)
ditto -c -k --sequesterRsrc --keepParent Dots.app $macosx64file
xcrun notarytool submit $macosx64file --apple-id $APPLE_ID --team-id $TEAM_ID --password $APP_SPECIFIC_PWD --verbose
xcrun notarytool submit $macosx64file --apple-id $APPLE_ID --team-id $TEAM_ID --password $APP_SPECIFIC_PWD --verbose --wait



0 comments on commit b198b30

Please sign in to comment.