mirror of
https://codeberg.org/armin/wavetable.git
synced 2026-09-01 05:50:46 +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
|
||||
# Create a temp keychain
|
||||
if [ -n "$GITHUB_ACTIONS" ]; then
|
||||
if [ -z "$APPLICATION" ]; then
|
||||
echo "Create a keychain"
|
||||
security create-keychain -p nr4aGPyz Keys.keychain
|
||||
|
||||
|
|
@ -30,6 +31,7 @@ if [ "$(uname)" == "Darwin" ]; then
|
|||
DEV_APP_ID="Developer ID Application: Roland Rabien (3FS7DJDG38)"
|
||||
DEV_INST_ID="Developer ID Installer: Roland Rabien (3FS7DJDG38)"
|
||||
fi
|
||||
fi
|
||||
|
||||
ROOT=$(cd "$(dirname "$0")/.."; pwd)
|
||||
cd "$ROOT"
|
||||
|
|
@ -53,9 +55,11 @@ if [ "$(uname)" == "Darwin" ]; then
|
|||
cp -R "$ROOT/Builds/xcode/${PLUGIN}_artefacts/Release/VST3/$PLUGIN.vst3" "$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.vst3 --options=runtime --timestamp --force
|
||||
codesign -s "$DEV_APP_ID" -v $PLUGIN.component --options=runtime --timestamp --force
|
||||
fi
|
||||
|
||||
# Notarize
|
||||
cd "$ROOT/ci/bin"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue