-
Notifications
You must be signed in to change notification settings - Fork 138
chore(www,ci): drop unsupported mac builds from downloads, template release notes #732
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
Changes from 1 commit
deac3c2
7e49c56
e207677
56a5784
9843ce9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| # Grida Desktop — Technical Preview | ||
|
|
||
| This is a nightly release of Grida `{{version}}`. | ||
|
|
||
| - macOS (signed, notarized) | ||
| - darwin arm64 — Apple Silicon | ||
| - dmg · zip | ||
| - linux | ||
| - deb · rpm | ||
| - arm64 · x64 | ||
| - windows (not signed) | ||
| - x64 | ||
|
|
||
| [Join Slack](https://grida.co/join-slack) to learn more. | ||
|
|
||
| ## Supported builds | ||
|
|
||
| | Name | Platform | x64 | arm64 | makers | signed | notes | | ||
| | ------- | -------- | --- | ----- | ---------------- | ------ | ------------------------------------------------------------------ | | ||
| | `Grida` | `darwin` | | ✓ | `zip`, `dmg` | ✓ | Apple Silicon only. Rosetta 2 cannot run arm64 binaries on Intel. | | ||
| | `Grida` | `win32` | ✓ | | `exe (squirrel)` | | x64 only / not signed | | ||
| | `Grida` | `linux` | ✓ | ✓ | `deb`, `rpm` | | | | ||
|
|
||
| ## Auto-update | ||
|
|
||
| macOS installs receive updates automatically via [`update.electronjs.org`](https://github.com/electron/update.electronjs.org). The running app polls every 6 hours; when a newer release is available, a "Restart to update" prompt appears. | ||
|
|
||
| Releases marked **pre-release** on this page are *not* served to existing installs — they're for manual download / testing only. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -100,3 +100,16 @@ jobs: | |
| APPLE_API_KEY_ID: ${{ secrets.APPLE_API_KEY_ID }} | ||
| APPLE_API_ISSUER: ${{ secrets.APPLE_API_ISSUER }} | ||
| run: pnpm run publish:prerelease --arch="arm64" | ||
|
|
||
| - name: Update release notes from template | ||
| # Runs once (only on the macOS row) after the release tag has been | ||
| # created by the publisher. Template at .github/release-notes/desktop.md. | ||
| if: ${{ matrix.os.name == 'macos-apple-silicon' && env.HAS_SIGNING == 'true' && env.HAS_NOTARIZE == 'true' }} | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
The new release-notes step is conditioned on Useful? React with 👍 / 👎.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good catch — applied in e207677. Re-gated the step to |
||
| working-directory: ${{ github.workspace }} | ||
| env: | ||
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| run: | | ||
| VERSION=$(node -p "require('./desktop/package.json').version") | ||
| TAG="v${VERSION}" | ||
| BODY=$(sed "s|{{version}}|${VERSION}|g" .github/release-notes/desktop.md) | ||
| gh release edit "$TAG" --notes "$BODY" --repo gridaco/grida | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new release-notes step is conditioned on
env.HAS_SIGNING == 'true' && env.HAS_NOTARIZE == 'true', so if Apple signing/notarization secrets are missing or temporarily unavailable, the Windows/Linux publish steps can still run and publish a release while this templating step is skipped. In that case the workflow reverts to empty/manual release bodies, which defeats the automation introduced here; this step should be gated only to a single matrix row (or another always-running path), not to mac signing availability.Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch — applied in e207677. Re-gated the step to
matrix.os.name == 'linux'(no signing-secret dependency, always runs). The release tag exists by the time linux's publish step finishes, so the body edit is safe.