ReleaseWorkflow - evansde77/cirrus GitHub Wiki

Creating a new Release

This page walks through creating a new release using cirrus to manage the git flow style release workflow. All of these stages can be automated on a CI platform that watches for new release branches in the repo.

git cirrus release new --micro   # create a new micro release, bumps version, creates release branch
git cirrus build                 # build local venv for testing
git cirrus test                  # run test suite to verify release candidate is good
git cirrus release build         # create artifact in ./dist 
git cirrus release upload --pypi-url pypi  # upload the release artifact to the pypi server labeled as pypi in your .pypirc
git cirrus release merge --cleanup  # merge release branch to master, develop and tag, clean up release branch