Skip to content

ci: pin Ruby for RubyGems publish and allow manual tag publish - #137

Merged
jonathannorris merged 3 commits into
mainfrom
ci/release-ruby-version
Nov 20, 2026
Merged

jonathannorris merged 3 commits into
mainfrom
ci/release-ruby-version

Conversation

@jonathannorris

Copy link
Copy Markdown
Member

Summary

  • The 3.9.1 publish failed: ruby-version: ruby now resolves to Ruby 4.0, and wasmtime 39.0.1 has no prebuilt gem for it, so the native build fails. Publish now uses Ruby 3.4 on ubuntu-24.04.
  • Adds an optional tag input to workflow_dispatch so an existing release can be published by hand. Publish stays in release.yml for RubyGems trusted publishing.

Related Issues

Follow-up to #135

@jonathannorris
jonathannorris requested a review from a team as a code owner November 19, 2026 20:08
@jonathannorris
jonathannorris requested review from JamieSinn, jsalaber and suthar26 and a balanced review from Copilot and removed request for Copilot November 19, 2026 20:08
@jonathannorris
jonathannorris enabled auto-merge (squash) November 19, 2026 20:08
Copilot AI balanced review requested due to automatic review settings November 20, 2026 13:57

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Manual tag publishing still runs release-please, which can create a newer release while publishing the older tag and leave the newer gem unpublished.

1 open issue
What changed in this PR

This PR addresses the RubyGems publishing failure by pinning a compatible Ruby environment and adding manual publishing for existing release tags.

Changes:

  • Pins publishing to Ruby 3.4 on Ubuntu 24.04 to avoid the reported wasmtime compatibility issue.
  • Adds an optional manual tag input and uses it to select the version to publish.
  • Keeps publishing in release.yml to preserve RubyGems trusted publishing.
File Description
.github/​workflows/​release.yml Pins the publishing environment and enables manual publishing of an existing tag.

Review effort: Balanced

Comment thread .github/workflows/release.yml Resolved
@jonathannorris
jonathannorris merged commit 437435d into main Nov 20, 2026
8 checks passed
@jonathannorris
jonathannorris deleted the ci/release-ruby-version branch November 20, 2026 21:12
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.

3 participants