fix(ci): remove @semantic-release/git, add sync-versions command#1141
Merged
fix(ci): remove @semantic-release/git, add sync-versions command#1141
Conversation
Remove the @semantic-release/git plugin which pushes version bump commits and CHANGELOG.md back to the branch. The default github.token cannot push to protected branches, and this avoids the need for a PAT. Version source of truth is git tags + npm registry. Add a sync-versions devbox command to pull latest npm versions into package.json on demand. Update release docs accordingly. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@semantic-release/gitplugin fromrelease.config.js— eliminates the need to push version bump commits to protected branches@semantic-release/changelog(was only useful when committing CHANGELOG.md back to repo)scripts/sync-versions.sh+ devboxsync-versionscommand to pull latest npm-published versions into package.json on demandwiki/release.mdto reflect the new processHow it works now
@semantic-release/github(unchanged)devbox run --config=shells/devbox-fast.json sync-versions, included in a PR periodicallyTest plan
sync-versionslocally to verify it works🤖 Generated with Claude Code