ci: adopt rust-gem-release@0.11.0 publish workflow (version box + dry-run)#26
Merged
Conversation
…-run) Replaces the hand-rolled release workflow with the org-standard shared workflow (native legs off — pure-Ruby source gem only). Adds three release paths: CLI tag push, a 'type a version in a box' workflow_dispatch, and a version-less dry-run. Behavior change: publishing to RubyGems is now opt-in on dispatch (was unconditional); the version input is optional (blank = dry-run). This PR does NOT bump the gem version. Naming quirk preserved: gem-name is `ragnar-cli` (published name) but the gemspec file is `ragnar.gemspec` and the version module is `Ragnar`. gem-name drives the RubyGems push glob; gemspec input points at ragnar.gemspec. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Standardizes this gem's publishing on the shared rust-gem-release@0.11.0 reusable workflow (the same one the Rust gems use), with the three native build legs turned off — so only the Rust-free source-gem job runs (
gem build+gem push+ GitHub Release, all on ubuntu-24.04). Replaces the previous hand-rolledrelease.yml.Three ways to release, all from one file:
git tag X && git push --tagslib/ragnar/version.rb, commits, tags, and publishes in one runBehavior changes vs the old workflow: publishing to RubyGems is now opt-in on dispatch (the old workflow always published when you ran it); the
versioninput is now optional (blank = build-only dry-run); and it gains a CLI tag-push path it didn't have before.Note: Naming quirk preserved: gem-name is
ragnar-cli(published name) but the gemspec file isragnar.gemspecand the version module isRagnar. gem-name drives the RubyGems push glob; gemspec input points at ragnar.gemspec.Companion to the merged rust-gem-release feature (bump-on-dispatch) and the org-wide publish standardization.