Closed
Conversation
The `rubygems/release-gem@v1` action expects `rake release` to be available, which requires bundler gem tasks. This was causing the release workflow to fail with "No Rakefile found". Also removes the redundant `gem build` step since `rake release` handles both building and pushing the gem. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Greptile OverviewGreptile SummaryFixes the release workflow by adding a
Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant Dev as Developer
participant GH as GitHub Actions
participant WF as Release Workflow
participant Ruby as Ruby/Bundler
participant RG as RubyGems
Dev->>GH: Merge PR with 'version-bump' label
GH->>WF: Trigger release workflow
WF->>WF: Create GitHub Release
WF->>WF: Checkout code
WF->>Ruby: Setup Ruby 3.2 & bundle install
WF->>Ruby: Run tests (bundle exec rspec)
Ruby-->>WF: Tests pass
WF->>Ruby: Run rubygems/release-gem@v1
Ruby->>Ruby: Execute bundle exec rake release
Ruby->>Ruby: Load Rakefile (bundler/gem_tasks)
Ruby->>Ruby: Build gem from workos.gemspec
Ruby->>RG: Push gem to RubyGems
RG-->>WF: Publish successful
WF-->>GH: Release complete
|
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.
Summary
rake releasegem buildstep from release workflow sincerake releasehandles buildingProblem
The release workflow was failing because
rubygems/release-gem@v1runsbundle exec rake release, but no Rakefile existed in the repository:See: https://github.com/workos/workos-ruby/actions/runs/21615714398/job/62293930501
Test plan
🤖 Generated with Claude Code