Commit f202e39
authored
Add simple release script (gem-only) (#192)
* Remove bundler/gem_tasks to fix release task conflict
Removed `require 'bundler/gem_tasks'` from Rakefile because it creates
a conflicting `release` task that shadows our custom release task in
rakelib/release.rake.
Added manual :build task to replace what bundler/gem_tasks provided.
This matches the react_on_rails pattern where rakelib/release.rake
provides the release task without conflicts.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
* 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]>
* Fix sh_in_dir to use Dir.chdir like react_on_rails
* Add --file flag to gem bump for version file detection
* Simplify Rakefile - remove unnecessary build task
The build task was not needed:
- gem release command handles building the gem
- We don't need a separate build step
- The default task can just run specs
This makes the Rakefile cleaner and simpler.1 parent 8615fc7 commit f202e39
3 files changed
+14
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | 1 | | |
4 | 2 | | |
5 | 3 | | |
6 | 4 | | |
7 | 5 | | |
8 | | - | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
13 | 21 | | |
14 | 22 | | |
15 | | - | |
| 23 | + | |
0 commit comments