Skip to content

Commit 99e3aac

Browse files
author
Abhay Rana
committed
[docs] Adds RELEASE instructions to README
1 parent 64756d8 commit 99e3aac

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,19 @@ You can find invoices API documentation at <https://docs.razorpay.com/v1/page/in
9999
4. Commit your changes (`git commit -am 'Add some feature'`)
100100
5. Push to the branch (`git push origin my-new-feature`)
101101
6. Create a new Pull Request
102+
103+
## Release
104+
105+
Steps to follow for a release:
106+
107+
0. Merge the branch with the new code to master.
108+
1. Bump the Version in `lib/razorpay/constants.rb`
109+
2. Rename Unreleased to the new tag in `CHANGELOG`
110+
3. Fix links at bottom in `CHANGELOG`
111+
4. Commit (message should include version number)
112+
5. Tag the release and push to GitHub. Get the tag signed using Razorpay GPG key.
113+
6. Create a release on GitHub using the website with more details about the release
114+
7. Run `gem build razorpay-ruby.gemspec`
115+
8. Run `gem push razorpay-{version}.gem`
116+
117+
`gem push` will ask you for credentials, if you are not logged in already.

0 commit comments

Comments
 (0)