Skip to content

feat: add release:bump task for automated version management#4

Merged
fidalgo merged 2 commits intomasterfrom
add-bump
Feb 8, 2026
Merged

feat: add release:bump task for automated version management#4
fidalgo merged 2 commits intomasterfrom
add-bump

Conversation

@fidalgo
Copy link
Contributor

@fidalgo fidalgo commented Feb 8, 2026

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.

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge 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.
@fidalgo fidalgo merged commit 100355f into master Feb 8, 2026
3 checks passed
@fidalgo fidalgo deleted the add-bump branch February 8, 2026 16:31
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