Skip to content

Commit faeddac

Browse files
justin808claude
andcommitted
Simplify release script to match react_on_rails without npm
Cleaned up release.rake to exactly match react_on_rails pattern but without the npm/release-it parts that aren't needed for cypress-on-rails. Removed from react_on_rails version: - npm_version conversion logic - release-it command execution - Gemfile.lock updates for dummy apps - gemspec cleanup for subdirectories - GitHub packages publishing Kept from react_on_rails version: - Same structure and flow - RaisingMessageHandler class - TaskHelpers include pattern - git pull --rebase - gem bump with -v flag (fixed from --version) - gem release to rubygems.org - Post-release CHANGELOG reminder 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 2b677da commit faeddac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rakelib/release.rake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ desc("Releases the gem using the given version.
1515
1616
IMPORTANT: the gem version must be in valid rubygem format (no dashes).
1717
18-
This task depends on the gem-release ruby gem which is installed via `bundle install`
18+
This task depends on the gem-release (ruby gem) which is installed via `bundle install`
1919
2020
1st argument: The new version in rubygem format (no dashes). Pass no argument to
2121
automatically perform a patch version bump.
2222
2nd argument: Perform a dry run by passing 'true' as a second argument.
2323
2424
Note, accept defaults for rubygems options. Script will pause to get 2FA tokens.
2525
26-
Example: `rake release[1.19.0,false]`")
26+
Example: `rake release[2.1.0,false]`")
2727
task :release, %i[gem_version dry_run] do |_t, args|
2828
include CypressOnRails::TaskHelpers
2929

0 commit comments

Comments
 (0)