More stuff in the if block

This commit is contained in:
Roland Rabien 2023-09-01 14:58:57 -07:00
commit a3cd52004b

View file

@ -63,16 +63,17 @@ if [ "$(uname)" == "Darwin" ]; then
# Notarize # Notarize
cd "$ROOT/ci/bin" cd "$ROOT/ci/bin"
zip -r ${PLUGIN}_Mac.zip $PLUGIN.vst $PLUGIN.vst3 $PLUGIN.component
if [[ -n "$APPLE_USER" ]]; then if [[ -n "$APPLE_USER" ]]; then
zip -r ${PLUGIN}_Mac.zip $PLUGIN.vst $PLUGIN.vst3 $PLUGIN.component
xcrun notarytool submit --verbose --apple-id "$APPLE_USER" --password "$APPLE_PASS" --team-id "3FS7DJDG38" --wait --timeout 30m ${PLUGIN}_Mac.zip xcrun notarytool submit --verbose --apple-id "$APPLE_USER" --password "$APPLE_PASS" --team-id "3FS7DJDG38" --wait --timeout 30m ${PLUGIN}_Mac.zip
rm ${PLUGIN}_Mac.zip
xcrun stapler staple $PLUGIN.vst
xcrun stapler staple $PLUGIN.vst3
xcrun stapler staple $PLUGIN.component
fi fi
rm ${PLUGIN}_Mac.zip
xcrun stapler staple $PLUGIN.vst
xcrun stapler staple $PLUGIN.vst3
xcrun stapler staple $PLUGIN.component
zip -r ${PLUGIN}_Mac.zip $PLUGIN.vst $PLUGIN.vst3 $PLUGIN.component zip -r ${PLUGIN}_Mac.zip $PLUGIN.vst $PLUGIN.vst3 $PLUGIN.component
if [ "$BRANCH" = "release" ]; then if [ "$BRANCH" = "release" ]; then