Something went wrong. Try again.
[mirror] A local-first desktop markdown writer with grammar checking, at proto integration, and more github.com/stormlightlabs/writer/releases
atproto codemirror markdown tauri rust react
Something went wrong. Try again.
Releasing Commonplace #
Releases are produced by GitHub Actions workflow:
Triggers #
- Push a
v*tag (for examplev0.2.0). - Or run the workflow manually through
workflow_dispatch.
What the Workflow Does #
- Builds platform artifacts on macOS (arm64 + x64), Linux, and Windows.
- On macOS, validates the required Apple secrets, imports the Developer ID certificate into a temporary keychain, resolves the signing identity, and passes notarization credentials to Tauri.[1][2]
- Runs
tauri-apps/tauri-action. - Creates a draft GitHub Release with uploaded binaries.
- Produces signed/notarized macOS artifacts when the Apple secrets are configured.
Required GitHub Secrets #
APPLE_CERTIFICATE: base64-encoded exported.p12certificateAPPLE_CERTIFICATE_PASSWORD: password used when exporting the certificateAPPLE_ID: Apple account email used for notarizationAPPLE_PASSWORD: app-specific password for the Apple accountAPPLE_TEAM_ID: Apple Developer Team ID
The workflow resolves APPLE_SIGNING_IDENTITY from the imported certificate at runtime instead of committing a fixed identity to src-tauri/tauri.conf.json. Tauri also supports inferring that identity directly from APPLE_CERTIFICATE, but the explicit resolution step makes CI failures easier to diagnose.[2:1]
Before Tagging #
- Update the release version in:
package.jsonsrc-tauri/Cargo.tomlsrc-tauri/tauri.conf.json
- Finalize
CHANGELOG.md. - Run release validation locally:
pnpm lintpnpm checkpnpm test:runpnpm buildcargo test
- Confirm the intended tag matches the app version exactly.
- Confirm the Apple signing/notarization secrets above are configured in the repository before pushing a release tag.
Triggering A Release #
Tag push #
Push a semver tag such as v0.2.0 from the commit you want to release.
Manual dispatch #
Use workflow_dispatch when you want to rebuild or re-run the release workflow for an already-prepared release commit.
When using manual dispatch, make sure:
- the checked-out commit already contains the final version bump
CHANGELOG.mdis finalized- the intended GitHub Release should still correspond to the same version/tag
After Build #
- Open GitHub Releases.
- Review the draft release artifacts for all platforms.
- Review the generated release title and notes.
- Smoke-test at least one packaged build from the draft artifacts.
- Publish the draft.