Skip to content

Commit 4bdcb91

Browse files
committed
Zip file updated
1 parent 03796e4 commit 4bdcb91

File tree

3 files changed

+38
-25
lines changed

3 files changed

+38
-25
lines changed

Changelist.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1+
1.2.2:
2+
- Zip file updated
3+
14
1.2.1:
25
- Added MIDI learn

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.2.1
1+
1.2.2

ci/build.sh

Lines changed: 34 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -48,29 +48,33 @@ if [ "$(uname)" == "Darwin" ]; then
4848
cmake --preset xcode
4949
cmake --build --preset xcode --config Release
5050

51-
cp -R "$ROOT/Builds/xcode/${PLUGIN}_artefacts/Release/AU/$PLUGIN.component" "$ROOT/ci/bin"
52-
cp -R "$ROOT/Builds/xcode/${PLUGIN}_artefacts/Release/VST/$PLUGIN.vst" "$ROOT/ci/bin"
53-
cp -R "$ROOT/Builds/xcode/${PLUGIN}_artefacts/Release/VST3/$PLUGIN.vst3" "$ROOT/ci/bin"
51+
mkdir -p "$ROOT/ci/bin/au"
52+
mkdir -p "$ROOT/ci/bin/vst"
53+
mkdir -p "$ROOT/ci/bin/vst3"
54+
55+
cp -R "$ROOT/Builds/xcode/${PLUGIN}_artefacts/Release/AU/$PLUGIN.component" "$ROOT/ci/bin/au"
56+
cp -R "$ROOT/Builds/xcode/${PLUGIN}_artefacts/Release/VST/$PLUGIN.vst" "$ROOT/ci/bin/vst"
57+
cp -R "$ROOT/Builds/xcode/${PLUGIN}_artefacts/Release/VST3/$PLUGIN.vst3" "$ROOT/ci/bin/vst3"
5458

5559
cd "$ROOT/ci/bin"
56-
codesign -s "$DEV_APP_ID" -v $PLUGIN.vst --options=runtime --timestamp --force
57-
codesign -s "$DEV_APP_ID" -v $PLUGIN.vst3 --options=runtime --timestamp --force
58-
codesign -s "$DEV_APP_ID" -v $PLUGIN.component --options=runtime --timestamp --force
60+
codesign -s "$DEV_APP_ID" -v vst/$PLUGIN.vst --options=runtime --timestamp --force
61+
codesign -s "$DEV_APP_ID" -v vst3/$PLUGIN.vst3 --options=runtime --timestamp --force
62+
codesign -s "$DEV_APP_ID" -v au/$PLUGIN.component --options=runtime --timestamp --force
5963

6064
# Notarize
6165
cd "$ROOT/ci/bin"
62-
zip -r ${PLUGIN}_Mac.zip $PLUGIN.vst $PLUGIN.vst3 $PLUGIN.component
66+
zip -r ${PLUGIN}_Mac.zip vst/$PLUGIN.vst vst3/$PLUGIN.vst3 au/$PLUGIN.component
6367

6468
if [[ -n "$APPLE_USER" ]]; then
6569
xcrun notarytool submit --verbose --apple-id "$APPLE_USER" --password "$APPLE_PASS" --team-id "3FS7DJDG38" --wait --timeout 30m ${PLUGIN}_Mac.zip
6670
fi
6771

6872
rm ${PLUGIN}_Mac.zip
69-
xcrun stapler staple $PLUGIN.vst
70-
xcrun stapler staple $PLUGIN.vst3
71-
xcrun stapler staple $PLUGIN.component
72-
zip -r ${PLUGIN}_Mac.zip $PLUGIN.vst $PLUGIN.vst3 $PLUGIN.component
73-
73+
xcrun stapler staple vst/$PLUGIN.vst
74+
xcrun stapler staple vst3/$PLUGIN.vst3
75+
xcrun stapler staple au/$PLUGIN.component
76+
zip -r ${PLUGIN}_Mac.zip vst/$PLUGIN.vst vst3/$PLUGIN.vst3 au/$PLUGIN.component
77+
7478
if [[ "$GITHUB_REF" == refs/tags/v* ]]; then
7579
curl -F "files=@${PLUGIN}_Mac.zip" "https://socalabs.com/files/set.php?key=$APIKEY"
7680
fi
@@ -79,24 +83,28 @@ fi
7983
# Build linux version
8084
if [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
8185
cd "$ROOT"
82-
86+
8387
cmake --preset ninja-gcc
8488
cmake --build --preset ninja-gcc --config Release
8589

86-
cp -R "$ROOT/Builds/ninja-gcc/${PLUGIN}_artefacts/Release/LV2/$PLUGIN.lv2" "$ROOT/ci/bin"
87-
cp -R "$ROOT/Builds/ninja-gcc/${PLUGIN}_artefacts/Release/VST/lib$PLUGIN.so" "$ROOT/ci/bin/$PLUGIN.so"
88-
cp -R "$ROOT/Builds/ninja-gcc/${PLUGIN}_artefacts/Release/VST3/$PLUGIN.vst3" "$ROOT/ci/bin"
90+
mkdir -p "$ROOT/ci/bin/lv2"
91+
mkdir -p "$ROOT/ci/bin/vst"
92+
mkdir -p "$ROOT/ci/bin/vst3"
93+
94+
cp -R "$ROOT/Builds/ninja-gcc/${PLUGIN}_artefacts/Release/LV2/$PLUGIN.lv2" "$ROOT/ci/bin/lv2"
95+
cp -R "$ROOT/Builds/ninja-gcc/${PLUGIN}_artefacts/Release/VST/lib$PLUGIN.so" "$ROOT/ci/bin/vst/$PLUGIN.so"
96+
cp -R "$ROOT/Builds/ninja-gcc/${PLUGIN}_artefacts/Release/VST3/$PLUGIN.vst3" "$ROOT/ci/bin/vst3"
8997

9098
cd "$ROOT/ci/bin"
9199

92100
# Strip debug symbols
93-
strip $PLUGIN.so
94-
strip $PLUGIN.vst3/Contents/x86_64-linux/$PLUGIN.so
95-
strip $PLUGIN.lv2/lib$PLUGIN.so
101+
strip vst/$PLUGIN.so
102+
strip vst3/$PLUGIN.vst3/Contents/x86_64-linux/$PLUGIN.so
103+
strip lv2/$PLUGIN.lv2/lib$PLUGIN.so
96104

97105
# Upload
98106
cd "$ROOT/ci/bin"
99-
zip -r ${PLUGIN}_Linux.zip $PLUGIN.so $PLUGIN.vst3 $PLUGIN.lv2
107+
zip -r ${PLUGIN}_Linux.zip vst/$PLUGIN.so vst3/$PLUGIN.vst3 lv2/$PLUGIN.lv2
100108

101109
if [[ "$GITHUB_REF" == refs/tags/v* ]]; then
102110
curl -F "files=@${PLUGIN}_Linux.zip" "https://socalabs.com/files/set.php?key=$APIKEY"
@@ -110,12 +118,14 @@ if [ "$(expr substr $(uname -s) 1 10)" == "MINGW64_NT" ]; then
110118
cmake --preset vs
111119
cmake --build --preset vs --config Release
112120

113-
cd "$ROOT/ci/bin"
121+
mkdir -p "$ROOT/ci/bin/vst"
122+
mkdir -p "$ROOT/ci/bin/vst3"
114123

115-
cp -R "$ROOT/Builds/vs/${PLUGIN}_artefacts/Release/VST/$PLUGIN.dll" "$ROOT/ci/bin"
116-
cp -R "$ROOT/Builds/vs/${PLUGIN}_artefacts/Release/VST3/$PLUGIN.vst3" "$ROOT/ci/bin"
124+
cp -R "$ROOT/Builds/vs/${PLUGIN}_artefacts/Release/VST/$PLUGIN.dll" "$ROOT/ci/bin/vst"
125+
cp -R "$ROOT/Builds/vs/${PLUGIN}_artefacts/Release/VST3/$PLUGIN.vst3" "$ROOT/ci/bin/vst3"
117126

118-
7z a ${PLUGIN}_Win.zip $PLUGIN.dll $PLUGIN.vst3
127+
cd "$ROOT/ci/bin"
128+
7z a ${PLUGIN}_Win.zip vst/$PLUGIN.dll vst3/$PLUGIN.vst3
119129

120130
if [[ "$GITHUB_REF" == refs/tags/v* ]]; then
121131
curl -F "files=@${PLUGIN}_Win.zip" "https://socalabs.com/files/set.php?key=$APIKEY"

0 commit comments

Comments
 (0)