con un clic
release
// Guide through releasing a new version of superthread. Use when cutting a release, publishing a new version, or bumping the version.
// Guide through releasing a new version of superthread. Use when cutting a release, publishing a new version, or bumping the version.
| name | release |
| description | Guide through releasing a new version of superthread. Use when cutting a release, publishing a new version, or bumping the version. |
Bump version → commit → rake release → GitHub Actions handles the rest (gem build, GitHub Release, Homebrew formula).
ruby -r ./lib/superthread/version -e 'puts Superthread::VERSION'
git log v<CURRENT_VERSION>..HEAD --oneline
Summarize changes and recommend a bump: major (breaking), minor (new features), or patch (fixes/docs).
Write concise, user-facing notes. Group under ### Added, ### Changed, ### Fixed, ### Removed as appropriate. Show the draft to the user for confirmation.
bundle exec bump patch # or minor, major — updates version.rb and commits
bundle exec rake release # creates tag, pushes, triggers GitHub Actions
The
bumpcommand runsbundle installautomatically to syncGemfile.lock, then commits both files. Do NOT editversion.rbby hand — the lockfile will be out of sync and CI will fail in frozen mode.
After GitHub Actions creates the release (check progress at the Actions URL shown in output):
gh release edit v<VERSION> --notes "$(cat <<'EOF'
<release notes from step 2>
EOF
)"
HOMEBREW_TAP_TOKEN secret in repo settings