mirror of https://github.com/waku-org/nwaku.git
816 B
816 B
Release Process
How to do releases.
For more context, see https://trunkbaseddevelopment.com/branch-for-release/
How to to do releases
- Checkout a release branch from master
git checkout -b release/v0.1
-
Update
CHANGELOG.md
and ensure it is up to date -
Create a tag with the same name as release and push it
git tag -as v0.1 -m "Initial release."
git push origin v0.1
-
Open a PR
-
Harden release in release branch
-
Modify tag
If you need to update stuff, remove tag and make sure the new tag is associated with CHANGELOG update.
# Delete tag
git tag -d v0.1
git push --delete origin v0.1
# Make changes, rebase and tag again
# Squash to one commit and make a nice commit message
git rebase -i origin/master
git tag -as v0.1 -m "Initial release."
git push origin v0.1