ci: revert macOS package signing and remove temp artifacts

This commit is contained in:
leo 2024-08-21 16:41:05 +08:00
parent 9b6fd3b147
commit be54361e9d
No known key found for this signature in database
2 changed files with 12 additions and 1 deletions

View file

@ -31,6 +31,10 @@ jobs:
with:
name: package.${{ matrix.runtime }}
path: build/sourcegit_*.zip
- name: Delete temp artifacts
uses: geekyeggo/delete-artifact@v5
with:
name: sourcegit.${{ matrix.runtime }}
osx-app:
name: Package OSX app
runs-on: macos-latest
@ -58,6 +62,10 @@ jobs:
with:
name: package.${{ matrix.runtime }}
path: build/sourcegit_*.zip
- name: Delete temp artifacts
uses: geekyeggo/delete-artifact@v5
with:
name: sourcegit.${{ matrix.runtime }}
linux:
name: Package Linux
runs-on: ubuntu-latest
@ -93,3 +101,7 @@ jobs:
build/sourcegit-*.AppImage
build/sourcegit_*.deb
build/sourcegit-*.rpm
- name: Delete temp artifacts
uses: geekyeggo/delete-artifact@v5
with:
name: sourcegit.${{ matrix.runtime }}

View file

@ -19,6 +19,5 @@ 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