Skip to content

Publish the gem with rubygems/release-gem - #204

Merged
hsbt merged 1 commit into
masterfrom
claude/zlib-release-gem
Nov 27, 2026
Merged

hsbt merged 1 commit into
masterfrom
claude/zlib-release-gem

Conversation

@hsbt

@hsbt hsbt commented Nov 27, 2026

Copy link
Copy Markdown
Member

The v3.3.0 release pushed the gem but timed out in gem exec rubygems-await, which calls a CompactIndexClient method that RubyGems no longer has, so the GitHub release step never ran: https://github.com/ruby/zlib/actions/runs/45914416750

This replaces the hand-written publish steps with rubygems/release-gem v1.5.0, as ruby/resolv does. It runs the same bundle exec rake release and waits for the release with its own script instead of rubygems-await.

9c90646 moved away from release-gem because its attestation patch activated the bundled zlib before Bundler.setup, and Bundler then refused the newer zlib from the gemspec. rubygems/release-gem#52 in v1.5.0 loads bundler/setup first. With Ruby 4.0.10 (bundled zlib 3.2.3), bundle exec rake build under the v1.1.0 RUBYOPT fails with You have already activated zlib 3.2.3, but your Gemfile requires zlib 3.3.0, and under the v1.5.0 one it builds the gem.

Generated with Claude Code

The v3.3.0 release pushed the gem but timed out in `gem exec rubygems-await`, which calls a CompactIndexClient method that RubyGems no longer has, so the GitHub release was never created. release-gem v1.5.0 runs the same `bundle exec rake release` and waits for the release with its own script.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hsbt
hsbt merged commit 9d0c75d into master Nov 27, 2026
62 checks passed
@hsbt
hsbt deleted the claude/zlib-release-gem branch November 27, 2026 00:24
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