You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci: automate releases with release-please + conventional commits
- Add .github/workflows/release-please.yml to open "Release PR"s bumping
package.json, updating CHANGELOG.md, and drafting release notes from
conventional commit messages.
- Simplify release.yml: drop the hand-rolled prepare-release / publish-release
jobs (release-please now owns the release body and tag). The build job only
attaches installers to the existing release.
- Document the conventional-commits flow in CLAUDE.md.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CLAUDE.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,17 @@ bun install
58
58
59
59
See `docs/DEVELOPMENT.md` for signing env vars and artifact locations.
60
60
61
+
## Releases
62
+
63
+
Releases are driven by **[release-please](https://github.com/googleapis/release-please)** and **conventional commits**.
64
+
65
+
- Every commit to `main` should use a conventional prefix: `feat:`, `fix:`, `perf:`, `refactor:`, `docs:`, `chore:`, `ci:`, `build:`, `test:`, `style:`, `revert:`. Breaking changes: add `!` (`feat!:`) or a `BREAKING CHANGE:` footer.
66
+
-`.github/workflows/release-please.yml` watches `main` and opens a **Release PR** that bumps `package.json`, updates `CHANGELOG.md`, and drafts the GitHub Release notes from commit messages.
67
+
- Merging the Release PR pushes a `vX.Y.Z` tag → `.github/workflows/release.yml` builds the installers (macOS / Windows / Linux) and attaches them to the same release.
68
+
-`electron-updater` reads release metadata for auto-updates on launch.
69
+
70
+
Version source of truth: `package.json` + `.release-please-manifest.json`. Never bump manually — let release-please do it.
71
+
61
72
## Icons
62
73
63
74
1. Edit canonical layer: `assets/icons/Skiller.icon/Assets/Image.png` (optionally run `python3 scripts/normalize-skiller-icon-layer.py`).
0 commit comments