-
Commit your changes:
git commit -m "Stuff" -
Create an annotated Git tag of the format
v*-rc*, e.g.,v0.0.1-rc0:git tag -a v0.0.1-rc0 -m "v0.0.1-rc0" -
Push your commits and the tag:
git push --follow-tags
If the release job fails and the release tag isn't created, you can fix the
problem and create a new tag with the same version number, bumping the release
candidate (rc) number, e.g. v0.0.1-rc1.