Skip to content
This repository was archived by the owner on May 4, 2023. It is now read-only.

Commit 2b0493c

Browse files
committed
update
1 parent b47b325 commit 2b0493c

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

.github/workflows/test.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,19 @@ jobs:
2626
run: npm run lint
2727
- name: Package
2828
run: npm run package
29+
# - name: Install Snapcraft
30+
# uses: samuelmeuli/action-snapcraft@v1
31+
# # Only install Snapcraft on Ubuntu
32+
# if: startsWith(matrix.os, 'ubuntu')
33+
# with:
34+
# # Log in to Snap Store
35+
# snapcraft_token: ${{ secrets.snapcraft_token }}
36+
- name: Prepare for app notarization
37+
if: startsWith(matrix.os, 'macos')
38+
# Import Apple API key for app notarization on macOS
39+
run: |
40+
mkdir -p ~/private_keys/
41+
echo '${{ secrets.api_key }}' > ~/private_keys/AuthKey_${{ secrets.api_key_id }}.p8
2942
- name: Build/release Electron app
3043
uses: samuelmeuli/action-electron-builder@v1
3144
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
@@ -37,3 +50,9 @@ jobs:
3750
# If the commit is tagged with a version (e.g. "v1.0.0"),
3851
# release the app after building
3952
release: ${{ startsWith(github.ref, 'refs/tags/v') }}
53+
mac_certs: ${{ secrets.mac_certs }}
54+
mac_certs_password: ${{ secrets.mac_certs_password }}
55+
env:
56+
# macOS notarization API key
57+
API_KEY_ID: ${{ secrets.api_key_id }}
58+
API_KEY_ISSUER_ID: ${{ secrets.api_key_issuer_id }}

DEVELOPMENT.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Development
2+
3+
## Draft a release with binaries
4+
5+
- `git tag vX.Y.Z`
6+
- `git push && git push --tags`
7+
8+
The github action will then release a draft release with the binaries.
9+
10+
## Remove a tag
11+
12+
- `git tag -d vX.Y.Z`
13+
- `git push origin :vX.Y.Z`

0 commit comments

Comments
 (0)