mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57:19 -08:00
ci: try to sign macOS package locally
This commit is contained in:
parent
7e4eca9691
commit
e1ac596261
1 changed files with 3 additions and 1 deletions
|
@ -18,5 +18,7 @@ mkdir -p SourceGit.app/Contents/Resources
|
||||||
mv SourceGit SourceGit.app/Contents/MacOS
|
mv SourceGit SourceGit.app/Contents/MacOS
|
||||||
cp resources/app/App.icns SourceGit.app/Contents/Resources/App.icns
|
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
|
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
|
||||||
|
|
Loading…
Reference in a new issue