Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create signed distribution package during release workflow #13

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions .github/workflows/build_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ name: Package merges to main
on:
push:
branches:
- main
- main
paths-ignore:
- '.github/**'
- 'images/**'
- '**/CHANGELOG.md'
- '**/README.md'
- ".github/**"
- "images/**"
- "**/CHANGELOG.md"
- "**/README.md"

jobs:
build:
Expand Down Expand Up @@ -54,10 +54,11 @@ jobs:
--scripts scripts/pkg \
"Escrow Buddy/build/Escrow Buddy-${{ env.VERSION }}-unsigned.pkg"

- name: Sign package
- name: Create signed distribution package
run: |
productsign --sign "Developer ID Installer: Mac Admins Open Source (T4SK8ZXCXG)" \
"Escrow Buddy/build/Escrow Buddy-${{ env.VERSION }}-unsigned.pkg" "Escrow Buddy/build/Escrow Buddy-${{ env.VERSION }}-signed.pkg"
productbuild --sign "Developer ID Installer: Mac Admins Open Source (T4SK8ZXCXG)" \
--package "Escrow Buddy/build/Escrow Buddy-${{ env.VERSION }}-unsigned.pkg" \
"Escrow Buddy/build/Escrow Buddy-${{ env.VERSION }}-signed.pkg"

- name: Notarize package
run: |
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/build_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,11 @@ jobs:
--scripts scripts/pkg \
"Escrow Buddy/build/Escrow Buddy-${{ env.VERSION }}-unsigned.pkg"

- name: Sign package
- name: Create signed distribution package
run: |
productsign --sign "Developer ID Installer: Mac Admins Open Source (T4SK8ZXCXG)" \
"Escrow Buddy/build/Escrow Buddy-${{ env.VERSION }}-unsigned.pkg" "Escrow Buddy/build/Escrow Buddy-${{ env.VERSION }}-signed.pkg"
productbuild --sign "Developer ID Installer: Mac Admins Open Source (T4SK8ZXCXG)" \
--package "Escrow Buddy/build/Escrow Buddy-${{ env.VERSION }}-unsigned.pkg" \
"Escrow Buddy/build/Escrow Buddy-${{ env.VERSION }}-signed.pkg"

- name: Notarize package
run: |
Expand Down
Loading