Skip to content

Commit b34be35

Browse files
committed
Zip file updated
1 parent 6d98a82 commit b34be35

3 files changed

Lines changed: 38 additions & 25 deletions

File tree

Changelist.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
1.0.27:
2+
- Zip file updated
3+
14
1.0.26:
25
- Fixed crash with midi learn
36

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.26
1+
1.0.27

ci/build.sh

Lines changed: 34 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,19 @@ if [ "$(uname)" == "Darwin" ]; then
5151
cmake --preset xcode
5252
cmake --build --preset xcode --config Release
5353

54-
cp -R "$ROOT/Builds/xcode/${PLUGIN}_artefacts/Release/AU/$PLUGIN.component" "$ROOT/ci/bin"
55-
cp -R "$ROOT/Builds/xcode/${PLUGIN}_artefacts/Release/VST/$PLUGIN.vst" "$ROOT/ci/bin"
56-
cp -R "$ROOT/Builds/xcode/${PLUGIN}_artefacts/Release/VST3/$PLUGIN.vst3" "$ROOT/ci/bin"
54+
mkdir -p "$ROOT/ci/bin/au"
55+
mkdir -p "$ROOT/ci/bin/vst"
56+
mkdir -p "$ROOT/ci/bin/vst3"
57+
58+
cp -R "$ROOT/Builds/xcode/${PLUGIN}_artefacts/Release/AU/$PLUGIN.component" "$ROOT/ci/bin/au"
59+
cp -R "$ROOT/Builds/xcode/${PLUGIN}_artefacts/Release/VST/$PLUGIN.vst" "$ROOT/ci/bin/vst"
60+
cp -R "$ROOT/Builds/xcode/${PLUGIN}_artefacts/Release/VST3/$PLUGIN.vst3" "$ROOT/ci/bin/vst3"
5761

5862
cd "$ROOT/ci/bin"
5963
if [ -n "$APPLICATION" ]; then
60-
codesign -s "$DEV_APP_ID" -v $PLUGIN.vst --options=runtime --timestamp --force
61-
codesign -s "$DEV_APP_ID" -v $PLUGIN.vst3 --options=runtime --timestamp --force
62-
codesign -s "$DEV_APP_ID" -v $PLUGIN.component --options=runtime --timestamp --force
64+
codesign -s "$DEV_APP_ID" -v vst/$PLUGIN.vst --options=runtime --timestamp --force
65+
codesign -s "$DEV_APP_ID" -v vst3/$PLUGIN.vst3 --options=runtime --timestamp --force
66+
codesign -s "$DEV_APP_ID" -v au/$PLUGIN.component --options=runtime --timestamp --force
6367
else
6468
echo "Not signing"
6569
fi
@@ -68,43 +72,47 @@ if [ "$(uname)" == "Darwin" ]; then
6872
cd "$ROOT/ci/bin"
6973

7074
if [[ -n "$APPLE_USER" ]]; then
71-
zip -r ${PLUGIN}_Mac.zip $PLUGIN.vst $PLUGIN.vst3 $PLUGIN.component
75+
zip -r ${PLUGIN}_Mac.zip vst/$PLUGIN.vst vst3/$PLUGIN.vst3 au/$PLUGIN.component
7276
xcrun notarytool submit --verbose --apple-id "$APPLE_USER" --password "$APPLE_PASS" --team-id "3FS7DJDG38" --wait --timeout 30m ${PLUGIN}_Mac.zip
7377

7478
rm ${PLUGIN}_Mac.zip
75-
xcrun stapler staple $PLUGIN.vst
76-
xcrun stapler staple $PLUGIN.vst3
77-
xcrun stapler staple $PLUGIN.component
79+
xcrun stapler staple vst/$PLUGIN.vst
80+
xcrun stapler staple vst3/$PLUGIN.vst3
81+
xcrun stapler staple au/$PLUGIN.component
7882
else
7983
echo "Not notarizing"
8084
fi
8185

82-
zip -r ${PLUGIN}_Mac.zip $PLUGIN.vst $PLUGIN.vst3 $PLUGIN.component
83-
86+
zip -r ${PLUGIN}_Mac.zip vst/$PLUGIN.vst vst3/$PLUGIN.vst3 au/$PLUGIN.component
87+
8488
if [ "$BRANCH" = "release" ]; then
8589
curl -F "files=@${PLUGIN}_Mac.zip" "https://socalabs.com/files/set.php?key=$APIKEY"
8690
fi
8791
# Build linux version
8892
elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
8993
cd "$ROOT"
90-
94+
9195
cmake --preset ninja-gcc
9296
cmake --build --preset ninja-gcc --config Release
9397

94-
cp -R "$ROOT/Builds/ninja-gcc/${PLUGIN}_artefacts/Release/LV2/$PLUGIN.lv2" "$ROOT/ci/bin"
95-
cp -R "$ROOT/Builds/ninja-gcc/${PLUGIN}_artefacts/Release/VST/lib$PLUGIN.so" "$ROOT/ci/bin/$PLUGIN.so"
96-
cp -R "$ROOT/Builds/ninja-gcc/${PLUGIN}_artefacts/Release/VST3/$PLUGIN.vst3" "$ROOT/ci/bin"
98+
mkdir -p "$ROOT/ci/bin/lv2"
99+
mkdir -p "$ROOT/ci/bin/vst"
100+
mkdir -p "$ROOT/ci/bin/vst3"
101+
102+
cp -R "$ROOT/Builds/ninja-gcc/${PLUGIN}_artefacts/Release/LV2/$PLUGIN.lv2" "$ROOT/ci/bin/lv2"
103+
cp -R "$ROOT/Builds/ninja-gcc/${PLUGIN}_artefacts/Release/VST/lib$PLUGIN.so" "$ROOT/ci/bin/vst/$PLUGIN.so"
104+
cp -R "$ROOT/Builds/ninja-gcc/${PLUGIN}_artefacts/Release/VST3/$PLUGIN.vst3" "$ROOT/ci/bin/vst3"
97105

98106
cd "$ROOT/ci/bin"
99107

100108
# Strip debug symbols
101-
strip $PLUGIN.so
102-
strip $PLUGIN.vst3/Contents/x86_64-linux/$PLUGIN.so
103-
strip $PLUGIN.lv2/lib$PLUGIN.so
109+
strip vst/$PLUGIN.so
110+
strip vst3/$PLUGIN.vst3/Contents/x86_64-linux/$PLUGIN.so
111+
strip lv2/$PLUGIN.lv2/lib$PLUGIN.so
104112

105113
# Upload
106114
cd "$ROOT/ci/bin"
107-
zip -r ${PLUGIN}_Linux.zip $PLUGIN.so $PLUGIN.vst3 $PLUGIN.lv2
115+
zip -r ${PLUGIN}_Linux.zip vst/$PLUGIN.so vst3/$PLUGIN.vst3 lv2/$PLUGIN.lv2
108116

109117
if [ "$BRANCH" = "release" ]; then
110118
curl -F "files=@${PLUGIN}_Linux.zip" "https://socalabs.com/files/set.php?key=$APIKEY"
@@ -116,12 +124,14 @@ elif [ "$(expr substr $(uname -s) 1 10)" == "MINGW64_NT" ]; then
116124
cmake --preset vs
117125
cmake --build --preset vs --config Release
118126

119-
cd "$ROOT/ci/bin"
127+
mkdir -p "$ROOT/ci/bin/vst"
128+
mkdir -p "$ROOT/ci/bin/vst3"
120129

121-
cp -R "$ROOT/Builds/vs/${PLUGIN}_artefacts/Release/VST/$PLUGIN.dll" "$ROOT/ci/bin"
122-
cp -R "$ROOT/Builds/vs/${PLUGIN}_artefacts/Release/VST3/$PLUGIN.vst3" "$ROOT/ci/bin"
130+
cp -R "$ROOT/Builds/vs/${PLUGIN}_artefacts/Release/VST/$PLUGIN.dll" "$ROOT/ci/bin/vst"
131+
cp -R "$ROOT/Builds/vs/${PLUGIN}_artefacts/Release/VST3/$PLUGIN.vst3" "$ROOT/ci/bin/vst3"
123132

124-
7z a ${PLUGIN}_Win.zip $PLUGIN.dll $PLUGIN.vst3
133+
cd "$ROOT/ci/bin"
134+
7z a ${PLUGIN}_Win.zip vst/$PLUGIN.dll vst3/$PLUGIN.vst3
125135

126136
if [ "$BRANCH" = "release" ]; then
127137
curl -F "files=@${PLUGIN}_Win.zip" "https://socalabs.com/files/set.php?key=$APIKEY"

0 commit comments

Comments
 (0)