You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds back the conventional-commit version bump that was accidentally removed. Bumps patch/minor/major based on commit messages since last tag, then publishes and pushes the version commit + tag back to main.
Summary by CodeRabbit
Chores
Enhanced the automated release workflow with intelligent semantic versioning. The updated pipeline now analyses commit messages to automatically determine appropriate version increments, manages package version updates comprehensively, creates and manages version tags properly, publishes packages, and synchronises all changes back to the repository for more reliable and consistent releases.
The pull request modifies the .github/workflows/publish.yml workflow file to implement automated semantic versioning and publishing. The job permissions are expanded from contents: read to contents: write. The checkout action now retrieves full history with fetch-depth: 0 to enable version delta computation. New workflow steps inspect commit messages for semantic version bump indicators, execute npm version to update package.json, create an explicit git commit and v{VERSION} tag, publish the package via npm publish, and push the commit and tags to the remote repository using git push --follow-tags. The control flow is restructured so version mutation and tagging occur before the build/publish sequence, with the final push happening after publishing completes.
Estimated code review effort
🎯 3 (Moderate) | ⏱️ ~20 minutes
Possibly related PRs
Auto-bump version from conventional commits #5: Implements the identical code-level changes to .github/workflows/publish.yml, including full-history checkout, permission expansion, semantic version detection, and npm version bump logic.
🐰 Through commit messages the rabbit peers,
Bumps the version with npm cheers,
Tags and commits with git-fu grace,
Pushes to the repo at blazing pace,
Publish flows—now fully automated! 🎉
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
✅ Passed
The title accurately describes the main objective: restoring automatic version bumping functionality to the publish workflow, which is directly supported by the changeset that adds version detection and bumping logic.
Docstring Coverage
✅ Passed
No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✏️ Tip: You can configure your own custom pre-merge checks in the settings.
✨ Finishing Touches🧪 Generate unit tests (beta)
Create PR with unit tests
Commit unit tests in branch fix/restore-version-bump
Comment @coderabbitai help to get the list of available commands and usage tips.
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
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.
Adds back the conventional-commit version bump that was accidentally removed. Bumps patch/minor/major based on commit messages since last tag, then publishes and pushes the version commit + tag back to main.
Summary by CodeRabbit