Skip to content

fix(ci): stop committing package.json/package-lock.json version bumps back to the repo - #145

Merged
athal7 merged 1 commit into
mainfrom
remove-semantic-release-git
Aug 10, 2026
Merged

fix(ci): stop committing package.json/package-lock.json version bumps back to the repo#145
athal7 merged 1 commit into
mainfrom
remove-semantic-release-git

Conversation

@athal7

@athal7 athal7 commented Aug 10, 2026

Copy link
Copy Markdown
Owner

@semantic-release/git committed the npm-bumped package.json/package-lock.json back to main on every release (no PR, but still a committed version file). Explicit preference across every tap repo: no committed version file, ever. npm publish still gets the correct version — @semantic-release/npm sets it in this CI checkout before publishing regardless of whether anything commits it back; only the repo's own committed package.json now lags the last manually-set value instead of tracking every release.

… back to the repo

@semantic-release/git committed the npm-bumped package.json/package-lock.json
back to main on every release (no PR, but still a committed version file).
Explicit preference across every tap repo: no committed version file, ever.
npm publish still gets the correct version — @semantic-release/npm sets it
in this CI checkout before publishing regardless of whether anything commits
it back; only the repo's own committed package.json now lags the last
manually-set value instead of tracking every release.
@coderabbitai

coderabbitai Bot commented Aug 10, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: a006a601-7eb1-479d-ab8a-1a3e3ab8ed63

📥 Commits

Reviewing files that changed from the base of the PR and between 67ec815 and 8d2e0de.

📒 Files selected for processing (1)
  • .releaserc.cjs

Walkthrough

The semantic-release configuration now uses ephemeral versioning for npm publication. It retains npm provenance. It removes the @semantic-release/git plugin and version-file commit settings, so releases no longer create version-bump commits before GitHub release creation.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly describes the main change: stopping committed version bumps to package.json and package-lock.json.
Description check ✅ Passed The description explains the related CI, semantic-release, and npm publishing behavior.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@athal7
athal7 merged commit 021916e into main Aug 10, 2026
6 checks passed
@athal7
athal7 deleted the remove-semantic-release-git branch August 10, 2026 22:09
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