Skip to content

Document disabling local Bundler release tasks - #93

Merged
dblock merged 1 commit into
dblock/document-advanced-branch-recoveryfrom
dblock/document-bundler-release-tasks
Nov 21, 2026
Merged

dblock merged 1 commit into
dblock/document-advanced-branch-recoveryfrom
dblock/document-bundler-release-tasks

Conversation

@dblock

@dblock dblock commented Nov 21, 2026 •

Copy link
Copy Markdown
Owner

Stacked on #92.

Summary

Addresses the "guard Bundler's direct release subtasks" item from the review of ruby-grape/grape-swagger#1017. Documentation only.

Projects that install the Bundler gem tasks keep rake release, which builds, tags, pushes, and publishes with the local maintainer's RubyGems credentials. The release:rubygem_push and release:source_control_push tasks it depends on share the release: prefix with ruby-gem-release tasks and can be run directly, so clearing only release is not enough.

  • Add "Bundler Release Tasks" to docs/usage.md with a snippet that replaces all three with tasks that abort. clear also drops their prerequisites, so nothing is built or tagged first. The Bundler build and install tasks, and every ruby-gem-release task, are unaffected.
  • Point to it from README's Configure Your Gem step.

This repository's own Rakefile also installs the Bundler gem tasks; this PR does not change it.

Validation

  • RuboCop documentation checks (prose, Markdown and Ruby examples, spelling) pass.
  • Tested the snippet against this repository's Rakefile, which installs both the Bundler tasks and ruby-gem-release's tasks. release, release:rubygem_push, and release:source_control_push each exit 1 with no prerequisites, while release:validate, release:publish, and release:workflow:preflight remain defined.

Authored by an AI (Claude) acting on behalf of @dblock.

🤖 Generated with Claude Code

https://claude.ai/code/session_011Gr21hZDQo5axDMuFgzL6s

@dblock
dblock force-pushed the dblock/document-bundler-release-tasks branch from 7b9cb1d to f16e16a Compare November 21, 2026 04:23
Projects that install the Bundler gem tasks keep rake release and its
release:rubygem_push and release:source_control_push tasks, which
publish with local credentials around the workflow. Document a tested
snippet that replaces all three with tasks that abort, without
prerequisites and without affecting ruby-gem-release tasks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011Gr21hZDQo5axDMuFgzL6s
@dblock
dblock force-pushed the dblock/document-bundler-release-tasks branch from f16e16a to 29cf599 Compare November 21, 2026 04:24
@dblock
dblock changed the base branch from master to dblock/document-advanced-branch-recovery November 21, 2026 04:24
@dblock
dblock added this pull request to stack #94 November 21, 2026 04:24
@dblock
dblock merged commit ad8b982 into master Nov 21, 2026
13 checks passed
@dblock
dblock deleted the dblock/document-bundler-release-tasks branch November 21, 2026 04:56
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