RELEASING.md
See https://github.com/krzysztofzablocki/Sourcery/issues/1247#issuecomment-1892571851 for the exact, step by step guide how to release a new version.
There're no hard rules about when to release Sourcery. Release bug fixes frequently, features not so frequently and breaking API changes rarely.
Following the Semantic Versioning:
0.6.0 to 0.6.1).0.6.1 to 0.7.0).Make sure you've been added as owner for CocoaPods Trunk and have push access to the Sourcery repository.
To create automatic GitHub releases, set up API Token. We recommend giving the token the smallest scope possible. This means just public_repo. After getting the token add the following ENV variables:
export SOURCERY_GITHUB_USERNAME=YOUR_GITHUB_USERNAME
export SOURCERY_GITHUB_API_TOKEN=YOUR_TOKEN
To be able to release a Homebrew formula update, install brew.
Example is for releasing 0.6.1 version of the Sourcery.
To release a new version of the Sourcery please rake task and follow the commands.
rake release:new
It will perform the following steps:
Some tasks require manual approvement or input, please pay attention to the automatic changes before confirming them.