Skip to content

fix(release): sync manifest.json and server.json versions on release - #48

Merged
rome2o merged 1 commit into
mainfrom
fix/sync-registry-versions
Nov 1, 2026
Merged

rome2o merged 1 commit into
mainfrom
fix/sync-registry-versions

Conversation

@rome2o

@rome2o rome2o commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Root cause of the drift fixed by #45: scripts/update-version.js (run by semantic-release prepareCmd) did not touch manifest.json or server.json.

  • Script now sets version in manifest.json, and top-level version plus every packages[].version in server.json. Indent and trailing newline are preserved; --dry-run is honoured.
  • .releaserc.json @semantic-release/git assets now include manifest.json and server.json so the bumps are committed.

Verified locally: dry run and a real run with 9.9.9 changed only the version lines in all four files (then reverted). npm test: 233 passed. npm run lint reports 6 errors in src, untouched by this PR. npm ci fails on main (package.json and lock out of sync), so deps were installed with npm install --no-package-lock.

🤖 Generated with Claude Code

update-version.js now writes the release version to manifest.json and to
server.json (top-level and every packages[].version), and both files are
committed by semantic-release so they cannot drift from package.json.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@rome2o
rome2o merged commit 68b26d6 into main Nov 1, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant