How to Release?¶
Use
nox -s release:prepareto prepare the project for a new release.Merge your Pull Request to the default branch
Use
git remote show origin | sed -n '/HEAD branch/s/.*: //p'to output the default branchUse
git checkout <default branch>Switch to the default branchUse
git pullto update branchUse
TAG=<name>to set a variable named “TAG”Use
git tag "${TAG}"to create a new tag in your repoUse
git push origin "${TAG}"to push it to remoteGitHub workflow CD reacts on this tag and starts the release process