Fix bump_patch.sh script and update references#85
Merged
Conversation
Rename scripts/bump_minor.sh to scripts/bump_patch.sh and change the version increment from X.(Y+1).0 to X.Y.(Z+1), updating the shellcheck list in check.sh and the release docs in AGENTS.md. Also trim the --help sed range so it no longer prints the trailing 'set -eu' line. https://claude.ai/code/session_01VzK2siFmrUzLziSivJqDfV
alexkroman
enabled auto-merge (squash)
June 11, 2026 23:58
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.
Summary
Corrects the
bump_patch.shscript to actually perform patch version bumps (X.Y.Z → X.Y.(Z+1)) instead of minor version bumps, and updates all references throughout the codebase.Changes
scripts/bump_patch.sh: Fixed version bump logic to increment the patch component (Z) rather than the minor component (Y)
"${major}.$((minor + 1)).0"to"${major}.${minor}.$((patch + 1))"bump_minor.shtobump_patch.sh2,11pto2,10pto match the corrected comment blockAGENTS.md: Updated documentation reference from
scripts/bump_minor.shtoscripts/bump_patch.shin the release workflow descriptionscripts/check.sh: Updated shellcheck invocation to reference
scripts/bump_patch.shinstead ofscripts/bump_minor.shImplementation Details
The script now correctly extracts and increments the patch version component by:
patch="$(echo "$version" | cut -d. -f3)"new_version="${major}.${minor}.$((patch + 1))"This aligns the script's actual behavior with its intended purpose and filename.
https://claude.ai/code/session_01VzK2siFmrUzLziSivJqDfV