Once it has been agreed we are ready to release follow the steps below.
- Create a branch
chore/release-v0.x.xfromdevelop. - On the new branch, bump the version in
package.jsonand commit it. - Create a pull request to merge into
mainfromchore/release-v0.x.x. This will build and create preview links and run all linting and tests. - Do any testing and manual checks at this point.
- Commit any required fixes to
chiore/release-v0.x.x - When ready, merge the pull request with a merge commit. Important! Do not squash, or history will be lost.
- Tag the merge commit on
mainwithv0.x.xand push it. - Merge
chore/release-v0.x.xto develop. - Reset the desired release branch to the tag, and then push to start the deployment.
git checkout release/mainnetthengit reset --hard v0.x.x - Go to the tag in github and create the release and generate the release notes.
- Publish the release
- Check back and ensure the 'After release' action ran successfully. This should append IPFS information to the release notes.
- Tag the desired commit on
developas pre-release.v0.x.x.-preview.1 - Reset the desired release branch to the tag
- Push to deploy