|
4 | 4 |
|
5 | 5 | [](https://github.com/dmicheneau/opencode-template-agent/actions/workflows/ci.yml) |
6 | 6 |  |
7 | | - |
| 7 | + |
8 | 8 |  |
9 | 9 |  |
10 | 10 |  |
@@ -259,13 +259,48 @@ gh workflow run "Sync Agents" -f tier=all -f force=true # Full forced syn |
259 | 259 | | `scripts/update-manifest.py` | Merges sync manifest with the main manifest | |
260 | 260 | | `scripts/sync_common.py` | Shared HTTP utilities and helpers | |
261 | 261 |
|
| 262 | +## 🚀 Releases & Changelog |
| 263 | + |
| 264 | +The changelog is automatically generated from Git history using [git-cliff](https://git-cliff.org), user-oriented with clear categories. |
| 265 | + |
| 266 | +### How it works |
| 267 | + |
| 268 | +1. **Tag push** — push a `v*` tag (e.g., `git tag v8.0.0 && git push --tags`) |
| 269 | +2. **Changelog generation** — git-cliff analyzes commits since the last tag and generates a structured changelog |
| 270 | +3. **GitHub Release** — a release is automatically created with the changelog as the body |
| 271 | + |
| 272 | +### Changelog categories |
| 273 | + |
| 274 | +| Commit prefix | Changelog category | |
| 275 | +|---------------|-------------------| |
| 276 | +| `feat` | ✨ New features | |
| 277 | +| `fix` | 🐛 Bug fixes | |
| 278 | +| `perf` | ⚡ Performance | |
| 279 | +| `docs` | 📝 Documentation | |
| 280 | +| `refactor` | ♻️ Refactoring | |
| 281 | +| `chore`, `ci`, `build`, `style`, `test` | 🔧 Maintenance | |
| 282 | + |
| 283 | +> Commits with `BREAKING CHANGE` are prefixed with **BREAKING:** in their respective category. |
| 284 | +
|
| 285 | +### Creating a release |
| 286 | + |
| 287 | +```bash |
| 288 | +# Bump version in package.json, tag and push |
| 289 | +npm version major # or minor, patch |
| 290 | +git push --follow-tags |
| 291 | + |
| 292 | +# Or manually |
| 293 | +git tag v8.0.0 |
| 294 | +git push --tags |
| 295 | +``` |
| 296 | + |
262 | 297 | ## 🧪 Tests |
263 | 298 |
|
264 | | -**427 tests** (250 JS + 177 Python). |
| 299 | +**870 tests** (559 JS + 311 Python). |
265 | 300 |
|
266 | 301 | ```bash |
267 | 302 | # All JS tests (CLI + TUI) |
268 | | -node --test tests/cli.test.mjs tests/tui.test.mjs |
| 303 | +node --test tests/cli.test.mjs tests/tui.test.mjs tests/lock.test.mjs |
269 | 304 |
|
270 | 305 | # All Python tests |
271 | 306 | python3 tests/run_tests.py |
|
0 commit comments