Skip to content

Commit 0668098

Browse files
committed
Add release instructions
1 parent 3ecb225 commit 0668098

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

+11
Original file line numberDiff line numberDiff line change
@@ -485,3 +485,14 @@ You can also specify this option in `react_component`:
485485
- Run tests with `rake test` or `appraisal rake test`
486486
- Update React assets with `rake react:update`
487487
- Update the UJS with `rake ujs:update`
488+
- Releases:
489+
- To release a new RubyGems version:
490+
- Increment the version in `lib/react/rails/version.rb`
491+
- Add an entry to `VERSIONS.md`
492+
- Update the changelog (find recent changes on GitHub by listing commits or showing closed PRs)
493+
- Commit changes & push to master
494+
- `bundle exec rake release`: pushes a tag to GitHub, builds a `.gem`, and pushes to RubyGems
495+
- To release a new NPM version:
496+
- Update the version in `react_ujs/package.json`
497+
- Commit & push to master
498+
- `bundle exec rake ujs:publish` (runs `npm publish`)

0 commit comments

Comments
 (0)