Skip to content

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

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#159
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: b656625b-56e5-4960-82b1-90195fdd83dd

📥 Commits

Reviewing files that changed from the base of the PR and between 3f77e7c and 824e847.

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

Walkthrough

The semantic-release configuration now documents ephemeral npm versioning and retains npm provenance publishing. It removes the @semantic-release/git plugin, so release version changes are not committed to package.json or package-lock.json. GitHub releases are created from the current tree without a preceding version-bump commit.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly states that CI will stop committing package version bumps to the repository.
Description check ✅ Passed The description accurately explains removal of the Git release step and continued 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 9afecd2 into main Aug 10, 2026
6 checks passed
@athal7
athal7 deleted the remove-semantic-release-git branch August 10, 2026 22:09
athal7 added a commit that referenced this pull request Aug 10, 2026
…se (#160)

release-please was added in #156 alongside the existing semantic-release
setup (ci.yml) — both would trigger on push to main, double-releasing or
conflicting. This repo already has a working, just-fixed
(#159, no committed version file) semantic-release pipeline; it doesn't
need a second release mechanism. Removing the release-please addition
to leave exactly one.
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