We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f95cc7 commit 9949fdfCopy full SHA for 9949fdf
1 file changed
scripts/notarize.sh
@@ -66,21 +66,21 @@ if [ $notarization_method = "exit" ]; then
66
$notarization_method
67
fi
68
69
-if test -f "$app"; then
+if test -d "$app"; then
70
echo "Notarizing: $app"
71
zip=$app.zip
72
# Turn the app into a zip file that notarization will accept
73
- ditto -c -k --keepParent $app $zip
74
- $notarization_method $zip
75
- run_stapler $app
+ ditto -c -k --keepParent "$app" "$zip"
+ $notarization_method "$zip"
+ run_stapler "$app"
76
else
77
- echo "Skipping: $app"
+ echo "Skipping: $app (expected .app bundle directory)"
78
79
80
if test -f "$dmg"; then
81
echo "Notarizing: $dmg"
82
- $notarization_method $dmg
83
- run_stapler $dmg
+ $notarization_method "$dmg"
+ run_stapler "$dmg"
84
85
echo "Skipping: $dmg"
86
0 commit comments