Skip to content

Improve release bump script and docs - #156

Merged
pascalpp merged 1 commit into
mainfrom
codex/issue-155-version-bump
Jun 6, 2026
Merged

pascalpp merged 1 commit into
mainfrom
codex/issue-155-version-bump

Conversation

@pascalpp

@pascalpp pascalpp commented Jun 6, 2026

Copy link
Copy Markdown
Owner

Clarify the release instructions and overhaul the interactive bump script.

  • HOW-TO-RELEASE.md: update step 2 to explain that the bump command can set the Xcode build number from the git commit count and can commit, tag, and push when confirmed; adjust step numbering and add a note about automatic build number and push behavior.
  • scripts/release/bump-version.js: rewrite the script to provide robust command execution and git output helpers, use readline for non-TTY input and raw-mode key reads for TTY, compute the Xcode build number from git rev-list --count HEAD, invoke set-version.js with the build number, and prompt the user to optionally commit, tag, and push the new version. Also add improved error handling and clearer interactive behavior for both TTY and piped usage.

Fixes #155

Clarify the release instructions and overhaul the interactive bump script.

- HOW-TO-RELEASE.md: update step 2 to explain that the bump command can set the Xcode build number from the git commit count and can commit, tag, and push when confirmed; adjust step numbering and add a note about automatic build number and push behavior.
- scripts/release/bump-version.js: rewrite the script to provide robust command execution and git output helpers, use readline for non-TTY input and raw-mode key reads for TTY, compute the Xcode build number from `git rev-list --count HEAD`, invoke set-version.js with the build number, and prompt the user to optionally commit, tag, and push the new version. Also add improved error handling and clearer interactive behavior for both TTY and piped usage.

Fixes #155
@pascalpp
pascalpp merged commit c5e9ce1 into main Jun 6, 2026
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.

Automate version bump script

1 participant