So you've made a change that you want to get out to users. Great! Let's get that released!
We'll assume that you want to release all changes currently on master
. You should not release anything from another branch.
- First, make sure that you update the release notes.
- Create a PR that updates the Changelog.md.
- Rename the "Unreleased" section and to the next version, incrementing the version number as appropriate.
- Make sure that change makes it to the
master
branch before continuing.
- Ensure that your local master branch is up to date and then create a tag for the new release.
The commands would look something like the following.
Replace
git checkout master git pull origin export TAG_NAME="vX.Y.Z" git tag --annotate $TAG_NAME -m "Releases $TAG_NAME" git push origin $TAG_NAME
vX.Y.Z
with your version number, such asv3.1.4
. The tag must start withv
. - GitHub Actions will take the tag and run some tests before generating a draft release which can be found on the releases page.
- If nothing has changed to dissuade you it's time to publish.
- Add the notes for this release from Changelog.md to the release description.
- Hit "publish" at the bottom.
- Inform our users!