feat: pass --config through release to bump command#159
Merged
HarryCampion merged 3 commits intomainfrom Mar 24, 2026
Merged
Conversation
Co-authored-by: HarryCampion <40582604+HarryCampion@users.noreply.github.com> Agent-Logs-Url: https://github.com/Jebel-Quant/rhiza-tools/sessions/2b52cbd7-abb6-4415-b096-9dd8264f7ce6
Copilot
AI
changed the title
[WIP] Fix release --with-bump to allow config file path
feat: pass --config through release to bump command
Mar 24, 2026
HarryCampion
approved these changes
Mar 24, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
release --with-bump(and--bump) would fail if the bumpversion config file wasn't at the default.rhiza/.cfg.tomlpath — the--configoption accepted bybumphad no equivalent onreleaseand was never forwarded internally.Changes
cli.py— Added--config / -coption to thereleasecommand, reusing the sharedCONFIG_OPTIONalready defined forbump; passes it through torelease_command()release.py— Addedconfig: Path | None = Nonetorelease_command()and_perform_version_bump(); forwards the path intoBumpOptionswhenbump_commandis called internallyconfigarg; added a test case verifying--configis forwarded correctly torelease_commandUsage
# Config file at a non-default path rhiza-tools release --with-bump --config /custom/path/.cfg.toml rhiza-tools release --bump MINOR --push --config /custom/path/.cfg.tomlOriginal prompt
📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.