Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a301eb5ced
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Rakefile
Outdated
| abort "Version bump requires a clean working tree." | ||
| end | ||
|
|
||
| sh "bundle exec gem bump --version #{level} --commit --tag --push" |
There was a problem hiding this comment.
Use gem-release bump flag instead of version
The new task passes --version #{level} where level is major|minor|patch|pre, but gem bump expects an explicit version string (repo docs show bundle exec gem bump -v X.Y.Z). That means rake release:bump[minor] will try to set the version to the literal string minor, which gem-release rejects or produces an invalid version. This breaks the task for the intended inputs; use the bump flag or compute an explicit version. See README.md lines 163–166 for the expected gem bump -v X.Y.Z usage.
Useful? React with 👍 / 👎.
Adds rake release:bump[level] task that uses gem-release to bump version, commit, tag, and push automatically. Splits version bumping from changelog generation for better workflow separation.
Use 'next #{level}' format instead of just '#{level}' to properly
invoke gem-release's built-in version increment logic for major,
minor, patch, and pre release levels.
Adds rake release:bump[level] task that uses gem-release to bump version, commit, tag, and push automatically. Splits version bumping from changelog generation for better workflow separation.