mirror of
https://github.com/zen-browser/desktop.git
synced 2025-09-06 11:28:28 +00:00
Fixed macos licensing
This commit is contained in:
3
.github/workflows/macos-release-build.yml
vendored
3
.github/workflows/macos-release-build.yml
vendored
@@ -135,6 +135,9 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
SURFER_COMPAT: ${{ matrix.arch }}
|
SURFER_COMPAT: ${{ matrix.arch }}
|
||||||
ZEN_GA_DISABLE_PGO: true
|
ZEN_GA_DISABLE_PGO: true
|
||||||
|
MACOS_APPLE_ACCOUNT_ID: ${{ secrets.macOS_AppleAccountId }}
|
||||||
|
MACOS_APPLE_DEVELOPER_ID_TEAM_ID: ${{ secrets.macOS_AppleDeveloperIdTeamId }}
|
||||||
|
MACOS_APPLE_DEVELOPER_ID_PASSWORD: ${{ secrets.macOS_AppleDeveloperIdPassword }}
|
||||||
run: |
|
run: |
|
||||||
export SURFER_PLATFORM="darwin"
|
export SURFER_PLATFORM="darwin"
|
||||||
export MACOS_APPLE_DEVELOPER_ID="${{ secrets.macOS_AppleDeveloperId }}"
|
export MACOS_APPLE_DEVELOPER_ID="${{ secrets.macOS_AppleDeveloperId }}"
|
||||||
|
@@ -155,6 +155,14 @@ codesign --force -o runtime --verbose --sign "$IDENTITY" --deep \
|
|||||||
codesign -vvv --deep --strict "${BUNDLE}"
|
codesign -vvv --deep --strict "${BUNDLE}"
|
||||||
|
|
||||||
# Staple the ticket
|
# Staple the ticket
|
||||||
|
xcrun notarytool submit "${BUNDLE}" \
|
||||||
|
--apple-id "${MACOS_APPLE_ACCOUNT_ID}" \
|
||||||
|
--team-id "${MACOS_APPLE_DEVELOPER_ID_TEAM_ID}" \
|
||||||
|
--password "${MACOS_APPLE_DEVELOPER_ID_PASSWORD}" \
|
||||||
|
--no-s3-acceleration \
|
||||||
|
--verbose \
|
||||||
|
--wait
|
||||||
|
|
||||||
xcrun stapler staple --verbose "${BUNDLE}" || exit 0
|
xcrun stapler staple --verbose "${BUNDLE}" || exit 0
|
||||||
|
|
||||||
# Create a DMG
|
# Create a DMG
|
||||||
|
Reference in New Issue
Block a user