Skip to content

Commit 78994bb

Browse files
committed
Build only Mac x64
1 parent acd925e commit 78994bb

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/publish-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ jobs:
186186
# update mechanism
187187
- name: Prepare installer contents
188188
run: |
189-
npx electron-builder -m --publish never --c.mac.target=zip --c.mac.identity=null
189+
npx electron-builder -m --publish never --c.mac.target=zip --c.mac.identity=null --x64
190190
#npx electron-builder -m --publish never --c.mac.target=zip --c.mac.identity=null --universal
191191
# Renaming the .zip to make it easier to distinguish
192192
mv dist/*.zip dist/unsigned-app.zip
@@ -203,7 +203,7 @@ jobs:
203203
#unzip -d dist/mac-universal -o output.zip
204204
- name: Build installers
205205
run: |
206-
npx electron-builder -m --publish never --pd "dist/mac/Realm Studio.app"
206+
npx electron-builder -m --publish never --pd "dist/mac/Realm Studio.app" --x64
207207
#npx electron-builder -m --publish never --universal --pd "dist/mac-universal/Realm Studio.app"
208208
- name: Rename yaml files
209209
run: |

docs/RELEASING.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,16 @@ When preparing the action does the following:
2020

2121
## Release a prepared release
2222

23-
Currently the release building is triggered manually after merging the release PR, using the "Build, sign and publish
24-
release" workflow. Once everything is confirmed stable merging of the release PR can be added to that workflow to
25-
eliminate one step.
23+
Currently the release building is meant to be triggered by selecting the release PR, using the "Build, sign and publish release" workflow.
2624

2725
This workflow:
2826

2927
1. Builds and signs artifacts for macOS, Linux and Windows
3028
2. Extract the latest release notes from the changelog.
3129
3. Uploads the packaged artifacts and auto-update yaml files to S3
3230
4. Creates a GitHub release, with the artifacts attached.
33-
5. Announces the release on Slack.
31+
5. Merges the release PR.
32+
6. Announces the release on Slack.
3433

3534
# How do I roll-back a release?
3635

0 commit comments

Comments
 (0)