Publishing
Spotlight uses Craft for release management. Craft automatically determines version bumps from conventional commits and generates changelogs.
Release Workflow
1. Trigger the Release
Go to the Release GitHub Action and click “Run workflow”.
You can specify:
- Version: Leave as
autoto determine from commits, or specifymajor,minor,patch, or an explicit version like4.10.0 - Force: Check this to release even if there are release-blockers
2. Review the Release Branch
Craft creates a release branch (e.g., release/4.10.0) with:
- Updated version in
packages/spotlight/package.json - Generated changelog in
packages/spotlight/CHANGELOG.md
The CI will build and test this branch automatically.
3. Merge and Publish
Once the release branch CI passes:
- Review the changelog and version bump
- Merge the release branch to
main - Craft creates a publish issue in getsentry/publish
- A release manager adds the
acceptedlabel to approve the release - The publish workflow runs and:
- Publishes
@spotlightjs/spotlightto NPM - Creates a GitHub release with standalone binaries and Electron app
- Tags the Docker image with the version and
latest
- Publishes
Artifacts
The CI build produces these artifacts that Craft uploads to the GitHub release:
| Artifact | Description |
|---|---|
built-packages | The npm package contents |
spotlight-binaries | Standalone CLI binaries for all platforms |
electron-binaries | Signed macOS Electron app (.dmg, .zip) |