Skip to content

Commit

Permalink
Create RELEASING.md
Browse files Browse the repository at this point in the history
Documenting my current workflow to create a release.
  • Loading branch information
pcai authored Sep 4, 2022
1 parent bdfea90 commit 0dbc901
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions RELEASING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
_You'll need write access to the repository and the [rubygems](https://rubygems.org/gems/savon) project to create a release._

1. On master, edit [CHANGELOG.md](https://github.com/savonrb/savon/blob/master/CHANGELOG.md) to finalize the new version number and list of all changes.
2. Bump [version.rb](https://github.com/savonrb/savon/blob/master/lib/savon/version.rb) to the version you picked in previous step.
3. **Final check**: make sure all tests are green, and that `gem build savon.gemspec` on master succeeds. If not, merge any fixes back to master and go to step 1.
4. [Draft a new release](https://github.com/savonrb/savon/releases/new) on Github.
- Create a tag matching the version in previous step - e.g. `v2.12.1` - prepend the version number with a "v".
- Use `v[version]` for the release title, and copy the changelog into the release notes.
- Click "Publish release" to commit the tag on Github.
5. `git checkout` the newly commited tag, then `gem build savon.gemspec` to build the gem package locally. Use `gem push savon-[version].gem` to publish to rubygems.

0 comments on commit 0dbc901

Please sign in to comment.