Let's assume we want to create a release for version v0.1.0.
Steps:
- Create a new branch from
mainwith the namereleases/v0.1.x - Create a tag on the release branch
git tag -a v0.1.0 -m "Release v0.1.0" -s - Push the tag to the remote
git push origin v0.1.0 - Wait for
build-and-releasepipeline to run.- Once pipeline is successful, the release will be created as a Draft
- Verify all is good and publish release as needed (set as latest if that is the case)
Let's assume we want to fix a bug in the release v0.1.0.
Steps:
- Create a new branch from
releases/v0.1.x. - Fix the bug.
- Create a PR against the branch
releases/v0.1.x. - Go through the review process and merge the PR.
- Create a release with a tag
v0.1.1from the branchreleases/v0.1.x.