README.md in sct-0.1.8 vs README.md in sct-0.1.9

- old
+ new

@@ -101,9 +101,31 @@ ## Contributing Bug reports and pull requests are welcome on GitHub at https://gitlab.com/proactive-software/packages/sct. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct. +## Releasing + +#### Ownership +Owners of the Ruby Gem project are able to release a new version. You can check the ownership status at https://rubygems.org/gems/sct. If you are an owner you can continue with the following steps. If not you may request to become an owner, or ask an existing owner to do the release for you. + +#### Authentication +Owners should update their credentials once before they can actually release new versions. The steps to do this are: +```$bash +curl -u [YOUR-RUBYGEM-USERNAME] https://rubygems.org/api/v1/api_key.yaml > ~/.gem/credentials +chmod 0600 ~/.gem/credentials +``` + +### Release steps +#### Update version +Before releasing you are required to update the version of the new release. You can do this manually by incrementing the value in the file `./sct/lib/sct/version.rb`. After this you need to commit this change and push it to the master branch. + +#### Release +You are now ready to release. You can do this with a simple command in the SCT repository's root directory: +```$xslt +rake release +``` + ## License The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT). ## Code of Conduct