Home

dev / openkara

publicthedavidweng/OpenKara· sync paused
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

chore(release): migrate changelog and version management to release-please (#299)

2 months ago

2b65433
Authored
Davy7/28/2026, 11:36:57 PM
* chore(release): migrate changelog and version management to release-please

Replace git-cliff with release-please for automated changelog, version
bump, tag, and draft release management. release-please maintains a
running release PR on every push to main; merging it bumps package.json,
updates CHANGELOG.md, tags vX.Y.Z, and creates a draft GitHub Release
with changelog notes. The existing tag-driven release.yml workflow then
builds bundles, uploads assets, and appends the Installation section to
the release-please notes. The final Publish step stays manual to protect
in-app updater users from premature auto-updates.

Cargo.lock is synced by a follow-up job (sync-native-versions) that runs
scripts/sync-version.mjs after release creation, because release-please
extra-files would corrupt unrelated packages sharing the same version
string (e.g. memoffset 0.9.1).

Removed: cliff.toml, pnpm changelog scripts, git-cliff notes generation
in release.yml, update-changelog job, cliff.toml parse check in ci.yml.

* fix(ci): address zizmor findings on release-please workflow

Move permissions from workflow level to job level with inline comments,
add concurrency group, and inline the prepare-release permission comment
in release.yml.

Parent1977cc6

11 files changed
  • .github/workflows/ci.yml+2−12
  • .github/workflows/release-please.yml+73−0
  • .github/workflows/release.yml+25−44
  • .release-please-manifest.json+3−0
  • AGENTS.md+2−2
  • cliff.toml+0−60
  • docs/RELEASING.md+51−33
  • package.json+1−3
release-please-config.json
+25
−0
  • scripts/ci/classify-changes.mjs+3−1
  • tests/ci/classify-changes.test.ts+7−2