Skip to content

Commit da9d68a

Browse files
committed
some more ddnet-release fixes
1 parent d2e8f6b commit da9d68a

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

ddnet-release.sh

+15-3
Original file line numberDiff line numberDiff line change
@@ -177,17 +177,29 @@ wait
177177
rm -rf steam
178178
mkdir steam
179179
cd steam
180+
180181
unzip $BUILDS/DDNet-$VERSION-win64.zip
181-
tar xvf $BUILDS/DDNet-$VERSION-linux_x86_64.tar.xz
182-
7z x $BUILDS/DDNet-$VERSION-osx.dmg # might have problems with symlinks
183182
mv DDNet-$VERSION-win64/data data
184183
zip -9r DDNet-$VERSION-data.zip data
185184
zip -9r DDNet-$VERSION-win64.zip DDNet-$VERSION-win64
185+
186+
unzip $BUILDS/DDNet-$VERSION-win32.zip
187+
rm -r DDNet-$VERSION-win32/data
188+
zip -9r DDNet-$VERSION-win32.zip DDNet-$VERSION-win32
189+
190+
tar xvf $BUILDS/DDNet-$VERSION-linux_x86_64.tar.xz
186191
rm -r DDNet-$VERSION-linux_x86_64/data
187192
cp $BUILDDIR/ddnet-master/ddnet-libs/sdl/linux/lib64/libSDL2-2.0.so.0 DDNet-$VERSION-linux_x86_64
188193
zip -9r DDNet-$VERSION-linux_x86_64.zip DDNet-$VERSION-linux_x86_64
194+
195+
tar xvf $BUILDS/DDNet-$VERSION-linux_x86.tar.xz
196+
rm -r DDNet-$VERSION-linux_x86/data
197+
cp $BUILDDIR/ddnet-master/ddnet-libs/sdl/linux/lib32/libSDL2-2.0.so.0 DDNet-$VERSION-linux_x86_32
198+
zip -9r DDNet-$VERSION-linux_x86.zip DDNet-$VERSION-linux_x86
199+
200+
7z x $BUILDS/DDNet-$VERSION-osx.dmg # might have problems with symlinks
189201
rm -r DDNet-$VERSION-osx/DDNet.app/Contents/Resources/data DDNet-$VERSION-osx/DDNet-Server.app/Contents/Resources/data
190-
zip -9r DDNet-$VERSION-linux_x86_64.zip DDNet-$VERSION-osx
202+
zip -9r DDNet-$VERSION-osx.zip DDNet-$VERSION-osx
191203

192204
rm -rf ddnet-master
193205

0 commit comments

Comments
 (0)