mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-20 12:50:53 +08:00
ci: remove debug symbols in packages
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
<File Path="build/scripts/localization-check.js"/>
|
||||
<File Path="build/scripts/package.linux.sh"/>
|
||||
<File Path="build/scripts/package.osx-app.sh"/>
|
||||
<File Path="build/scripts/package.windows.sh"/>
|
||||
<File Path="build/scripts/package.win.ps1"/>
|
||||
</Folder>
|
||||
|
||||
<Folder Name="/build/">
|
||||
|
||||
@@ -32,6 +32,7 @@ if [[ ! -f "appimagetool" ]]; then
|
||||
fi
|
||||
|
||||
rm -f SourceGit/*.dbg
|
||||
rm -f SourceGit/*.pdb
|
||||
|
||||
mkdir -p SourceGit.AppDir/opt
|
||||
mkdir -p SourceGit.AppDir/usr/share/metainfo
|
||||
|
||||
@@ -12,5 +12,6 @@ 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
|
||||
rm -f SourceGit.app/Contents/MacOS/*.pdb
|
||||
|
||||
zip "sourcegit_$VERSION.$RUNTIME.zip" -r SourceGit.app
|
||||
|
||||
Reference in New Issue
Block a user