- Merge all relevant changes into branch
develop
- this is where development and pre-release testing happens. - In branch
develop
, run tests and examples and check that the documentation builds without errors:make test
- In branch
develop
, add missing changes toCHANGES.md
and commit. - Push branch
develop
to GitHub:git push origin develop
- Wait for feedback from CI.
- Change to branch
master
:git checkout master
- Merge branch
develop
into branchmaster
(commentf"{version:s} release"
). - Push branch
master
to GitHub. - Tag branch
master
withf"v{version:s}"
:git tag "v0.0.1"
- Push the tag to Github:
git push origin --tags
- Build and sign packages:
make release
- Upload package to
pypi
:make upload
- Change to branch
develop
:git checkout develop
- In branch
develop
, bump the package version insrc/wenv/__init__.py
by changing the__version__
string. - In
CHANGES.md
, indicate that a new development cycle has started. - Commit to branch
develop
. - Push branch
develop
to GitHub:git push origin develop