From e1ac5962613590ff54e0d28b987cd8b4f5dce171 Mon Sep 17 00:00:00 2001 From: leo Date: Wed, 21 Aug 2024 16:17:19 +0800 Subject: [PATCH] ci: try to sign macOS package locally --- build/scripts/package.osx-app.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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