mirror of
https://github.com/ivabus/gui
synced 2025-04-23 14:07:14 +03:00
parent
855bd75941
commit
9fe5a2b825
2 changed files with 14 additions and 11 deletions
23
.github/workflows/build-sign-notarize.yml
vendored
23
.github/workflows/build-sign-notarize.yml
vendored
|
@ -230,8 +230,10 @@ jobs:
|
||||||
security unlock-keychain -p "$MACOS_CI_KEYCHAIN_PWD" build.keychain
|
security unlock-keychain -p "$MACOS_CI_KEYCHAIN_PWD" build.keychain
|
||||||
security import certificate.p12 -k build.keychain -P "$MACOS_CERTIFICATE_PWD" -T /usr/bin/codesign
|
security import certificate.p12 -k build.keychain -P "$MACOS_CERTIFICATE_PWD" -T /usr/bin/codesign
|
||||||
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k "$MACOS_CI_KEYCHAIN_PWD" build.keychain
|
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k "$MACOS_CI_KEYCHAIN_PWD" build.keychain
|
||||||
/usr/bin/codesign --force -s "$MACOS_CERTIFICATE_NAME" --options runtime dist/$ARM64_ZIP -v
|
|
||||||
/usr/bin/codesign --force -s "$MACOS_CERTIFICATE_NAME" --options runtime dist/$X86_ZIP -v
|
# skip: codesigning might need to move this inside the electron-builder codesigning step
|
||||||
|
# /usr/bin/codesign --force -s "$MACOS_CERTIFICATE_NAME" --options runtime dist/$ARM64_ZIP -v
|
||||||
|
# /usr/bin/codesign --force -s "$MACOS_CERTIFICATE_NAME" --options runtime dist/$X86_ZIP -v
|
||||||
# Notarize. Can take up to 10 minutes (and fail) asynchronously
|
# Notarize. Can take up to 10 minutes (and fail) asynchronously
|
||||||
# sometimes this might fail because exact the same zip has been uploaded already
|
# sometimes this might fail because exact the same zip has been uploaded already
|
||||||
|
|
||||||
|
@ -259,15 +261,16 @@ jobs:
|
||||||
unzip dist/$ARM64_ZIP -d dist/mac-arm64
|
unzip dist/$ARM64_ZIP -d dist/mac-arm64
|
||||||
unzip dist/$X86_ZIP -d dist/mac
|
unzip dist/$X86_ZIP -d dist/mac
|
||||||
|
|
||||||
echo "Doing staple"
|
# TODO: might need to move this to the electron-builder codesigning step from dmg is created
|
||||||
xcrun stapler staple "dist/mac/tea.app"
|
# echo "Doing staple"
|
||||||
xcrun stapler staple "dist/mac-arm64/tea.app"
|
# xcrun stapler staple "dist/mac/tea.app"
|
||||||
|
# xcrun stapler staple "dist/mac-arm64/tea.app"
|
||||||
|
|
||||||
echo "Rezip files"
|
# echo "Rezip files"
|
||||||
rm dist/$ARM64_ZIP
|
# rm dist/$ARM64_ZIP
|
||||||
rm dist/$X86_ZIP
|
# rm dist/$X86_ZIP
|
||||||
tea zip -r dist/$ARM64_ZIP dist/mac-arm64/tea.app
|
# tea zip -r dist/$ARM64_ZIP dist/mac-arm64/tea.app
|
||||||
tea zip -r dist/$X86_ZIP dist/mac/tea.app
|
# tea zip -r dist/$X86_ZIP dist/mac/tea.app
|
||||||
|
|
||||||
# prepare for DMG creation
|
# prepare for DMG creation
|
||||||
- name: prepare installer folders
|
- name: prepare installer folders
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "tea",
|
"name": "tea",
|
||||||
"version": "0.2.33",
|
"version": "0.2.34",
|
||||||
"private": true,
|
"private": true,
|
||||||
"description": "tea gui app",
|
"description": "tea gui app",
|
||||||
"author": "tea.xyz",
|
"author": "tea.xyz",
|
||||||
|
|
Loading…
Reference in a new issue