-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Stefan Westerfeld <[email protected]>
- Loading branch information
1 parent
2d3486e
commit eab19f4
Showing
3 changed files
with
15 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,13 +12,13 @@ set -e | |
|
||
source config.sh | ||
|
||
# CHECK INSTRUMENT VERSION | ||
echo -n "### Instruments: " | ||
grep "version \"$PACKAGE_VERSION\"" instruments/standard/index.smindex || die "did not use appropriate instrument version: $PACKAGE_VERSION" | ||
|
||
SMDIR=spectmorph | ||
SMDIR_CROSS=../../cross/spectmorph/macos/spectmorph | ||
|
||
# CHECK INSTRUMENT VERSION | ||
echo -n "### Instruments: " | ||
grep "version \"$PACKAGE_VERSION\"" $SMDIR/share/spectmorph/instruments/standard/index.smindex || die "did not use appropriate instrument version: $PACKAGE_VERSION" | ||
|
||
make_pkg() | ||
{ | ||
SHORT=$1 | ||
|
@@ -56,7 +56,7 @@ pkgbuild --sign "Developer ID Installer: Stefan Westerfeld (ZA556HAPK8)" --root | |
--identifier org.spectmorph.lv2.SpectMorph.pkg --version ${PACKAGE_VERSION} --install-location /Library/Audio/Plug-Ins/LV2 "SpectMorph.lv2.pkg" | ||
|
||
mkdir -p installer-tmp/SpectMorph.data/SpectMorph | ||
cp -rv instruments installer-tmp/SpectMorph.data/SpectMorph || die "error: cp instruments" | ||
cp -rv $SMDIR/share/spectmorph/instruments installer-tmp/SpectMorph.data/SpectMorph || die "error: cp instruments" | ||
cp -rv $PREFIX/share/spectmorph/templates installer-tmp/SpectMorph.data/SpectMorph || die "error: cp templates" | ||
pkgbuild --sign "Developer ID Installer: Stefan Westerfeld (ZA556HAPK8)" --root installer-tmp/SpectMorph.data --identifier "org.spectmorph.data.SpectMorph.pkg" --version ${PACKAGE_VERSION} --install-location "/tmp/SpectMorph.data" --scripts DataInstallerScript SpectMorph.data.pkg | ||
rm -rf installer-tmp/SpectMorph.data | ||
|
@@ -109,3 +109,5 @@ rm -rf installer-tmp SpectMorph.clap.pkg SpectMorph.lv2.pkg SpectMorph.vst.pkg S | |
|
||
xcrun notarytool submit SpectMorph-${PACKAGE_VERSION}.pkg --apple-id [email protected] --team-id ZA556HAPK8 --password "$APPLE_NOTARIZATION_PASSWORD" --wait | ||
xcrun stapler staple SpectMorph-${PACKAGE_VERSION}.pkg | ||
|
||
# over ssh: security unlock-keychain |