mirror of
https://codeberg.org/armin/wavetable.git
synced 2026-09-01 14:00:47 +02:00
Only sign and notarize if var set
This commit is contained in:
parent
72d1d028d4
commit
60f3238a96
1 changed files with 23 additions and 19 deletions
|
|
@ -12,6 +12,7 @@ fi
|
||||||
if [ "$(uname)" == "Darwin" ]; then
|
if [ "$(uname)" == "Darwin" ]; then
|
||||||
# Create a temp keychain
|
# Create a temp keychain
|
||||||
if [ -n "$GITHUB_ACTIONS" ]; then
|
if [ -n "$GITHUB_ACTIONS" ]; then
|
||||||
|
if [ -z "$APPLICATION" ]; then
|
||||||
echo "Create a keychain"
|
echo "Create a keychain"
|
||||||
security create-keychain -p nr4aGPyz Keys.keychain
|
security create-keychain -p nr4aGPyz Keys.keychain
|
||||||
|
|
||||||
|
|
@ -29,6 +30,7 @@ if [ "$(uname)" == "Darwin" ]; then
|
||||||
fi
|
fi
|
||||||
DEV_APP_ID="Developer ID Application: Roland Rabien (3FS7DJDG38)"
|
DEV_APP_ID="Developer ID Application: Roland Rabien (3FS7DJDG38)"
|
||||||
DEV_INST_ID="Developer ID Installer: Roland Rabien (3FS7DJDG38)"
|
DEV_INST_ID="Developer ID Installer: Roland Rabien (3FS7DJDG38)"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ROOT=$(cd "$(dirname "$0")/.."; pwd)
|
ROOT=$(cd "$(dirname "$0")/.."; pwd)
|
||||||
|
|
@ -53,9 +55,11 @@ if [ "$(uname)" == "Darwin" ]; then
|
||||||
cp -R "$ROOT/Builds/xcode/${PLUGIN}_artefacts/Release/VST3/$PLUGIN.vst3" "$ROOT/ci/bin"
|
cp -R "$ROOT/Builds/xcode/${PLUGIN}_artefacts/Release/VST3/$PLUGIN.vst3" "$ROOT/ci/bin"
|
||||||
|
|
||||||
cd "$ROOT/ci/bin"
|
cd "$ROOT/ci/bin"
|
||||||
|
if [ -z "$APPLICATION" ]; then
|
||||||
codesign -s "$DEV_APP_ID" -v $PLUGIN.vst --options=runtime --timestamp --force
|
codesign -s "$DEV_APP_ID" -v $PLUGIN.vst --options=runtime --timestamp --force
|
||||||
codesign -s "$DEV_APP_ID" -v $PLUGIN.vst3 --options=runtime --timestamp --force
|
codesign -s "$DEV_APP_ID" -v $PLUGIN.vst3 --options=runtime --timestamp --force
|
||||||
codesign -s "$DEV_APP_ID" -v $PLUGIN.component --options=runtime --timestamp --force
|
codesign -s "$DEV_APP_ID" -v $PLUGIN.component --options=runtime --timestamp --force
|
||||||
|
fi
|
||||||
|
|
||||||
# Notarize
|
# Notarize
|
||||||
cd "$ROOT/ci/bin"
|
cd "$ROOT/ci/bin"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue