diff --git a/build/scripts/package.osx-app.sh b/build/scripts/package.osx-app.sh index 80e66a08..27ff39ca 100755 --- a/build/scripts/package.osx-app.sh +++ b/build/scripts/package.osx-app.sh @@ -18,5 +18,7 @@ mkdir -p SourceGit.app/Contents/Resources mv SourceGit SourceGit.app/Contents/MacOS cp resources/app/App.icns SourceGit.app/Contents/Resources/App.icns sed "s/SOURCE_GIT_VERSION/$VERSION/g" resources/app/App.plist > SourceGit.app/Contents/Info.plist +rm -rf SourceGit.app/Contents/MacOS/SourceGit.dsym +codesign --force --deep --sign - SourceGit.app -zip "sourcegit_$VERSION.$RUNTIME.zip" -r SourceGit.app -x "*/*\.dsym/*" +zip "sourcegit_$VERSION.$RUNTIME.zip" -r SourceGit.app