Repository navigation
Release with ruby-gem-release and RubyGems Trusted Publishing - #63
Merged
Merged
Conversation
Add a manually dispatched Release workflow using the dblock/ruby-gem-release v0.9.0 reusable workflow, a script/release.rb builder for lib/fui/version.rb and the CHANGELOG format, release Rake tasks on MRI 3.3 and newer with Bundler's release tasks disabled, release specs using the ruby-gem-release RSpec helpers, and rewrite RELEASING.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011Gr21j3fxXzrnwVEAhRGGw
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.
Adds release automation with ruby-gem-release v0.9.0, modeled on dblock/guard-rack#34.
.github/workflows/release.yml: manually dispatched Release workflow (versionanddry-runinputs), restricted todblock/fuionmaster, callingdblock/ruby-gem-release/.github/workflows/release.yml@v0.9.0on Ruby 3.3 withbundle exec rake lint specas the test command. Publishes through RubyGems Trusted Publishing (already configured for repositorydblock/fui, workflowrelease.yml, environmentrelease, workflow repositorydblock/ruby-gem-release).script/release.rb:FuiRelease.workflowbuilder forFui::VERSIONinlib/fui/version.rband the### X (Next)/* Your contribution here.CHANGELOG format.Rakefile: installs the release tasks on MRI 3.3 and newer and disables Bundler'srelease,release:rubygem_push, andrelease:source_control_push.Gemfile:ruby-gem-release0.9.0 andcommonmarker ~> 2.10as development dependencies on MRI 3.3 and newer.fui.gemspec: loads the version withrequire_relativeso release fixtures read their own version file rather than one already on the load path.spec/release/release_spec.rb: runs the real release tasks against a local fixture with the ruby-gem-release RSpec helpers (skipped on older Rubies).RELEASING.md; added/vendor/bundle/to.gitignoreand new words to.spellcheck.txt.Validation:
bundle exec rake(RuboCop and 50 specs, including 3 release specs) on Ruby 4.0.9;bundle exec rakeandbundle exec rspec(47 specs, release tooling skipped) on Ruby 2.7.7;actionlint;gem build fui.gemspec. The disabledrake releaseaborts with a pointer to RELEASING.md. No release was dispatched.Note: the gem package includes
CONTRIBUTING.mdandRELEASING.mdviaDir['*.md']; left unchanged.This PR was written by an AI (Claude) acting on behalf of @dblock.
🤖 Generated with Claude Code
https://claude.ai/code/session_011Gr21j3fxXzrnwVEAhRGGw