Skip to content

Commit 242d72e

Browse files
committed
Change release.sh to compress 1 level deeper
1 parent 0378e78 commit 242d72e

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

release.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,15 @@ sed -i "s/version=\"[^\"]*\"/version=\"v${version}\"/g" $pluginPath/plugin.cfg
4343
cp LICENSE $pluginPath/LICENSE
4444
cp THIRDPARTY.md $pluginPath/THIRDPARTY.md
4545

46-
zip -r $releasePath.zip $addonsPath
46+
rm -f $pluginPath/x11/libgit2.a
47+
rm -f $pluginPath/osx/libgit2.a
48+
rm -f $pluginPath/win64/git2.lib
49+
50+
pushd $releasePath
51+
zip -r $releasePath.zip addons/
52+
popd
53+
54+
mv $releasePath/$releasePath.zip ./
4755

4856
rm -rf $releasePath
4957
rm -rf windows

0 commit comments

Comments
 (0)