This repository was archived by the owner on May 4, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change 26
26
run : npm run lint
27
27
- name : Package
28
28
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
29
42
- name : Build/release Electron app
30
43
uses : samuelmeuli/action-electron-builder@v1
31
44
if : ${{ startsWith(github.ref, 'refs/tags/v') }}
37
50
# If the commit is tagged with a version (e.g. "v1.0.0"),
38
51
# release the app after building
39
52
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 }}
Original file line number Diff line number Diff line change
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 `
You can’t perform that action at this time.
0 commit comments