Joseph P. Vantassel, jpvantassel.com
- Commit last code change to
devbranch. - Check GitHub
README.md. Check to ensure new features are included in the projects description. Consider adding new interesting figures. - Check all
examplesprovided in the repository. This should include re-running all example notebooks and recreating all figures presented in the repositoriesREADME.md. - Check the version number has been appropriately incremented. Note that the version number should be "single-sourced" throughout the entire package.
- Commit any changes, note then as having been completed in preparation for release.
- Run tests locally using
tox, this should result in a sucessful test. If any of the tests fail, make the appropriate changes and repeat the steps listed above to confirm the changes to fix the broken test did not have any adverse effects. - Push code following successful local test.
- Confirm CircleCI build was successful. Make any changes necessary to ensure successful CircleCI build and repeat the steps listed above.
- Open pull request from
devtomainGitHub branch. - Wait for LGTM, CircleCI, and Codecov to comment on pull request.
- Fix any issues and repeat the procedure above. If several issues are raised prefer to delay the pull request rather than pushing ahead. Once the issues have been fixed repeat the process above.
- Close pull request to merge
devintomain. - Change local branch to
mainand publish package to PyPI. Remember togit pullon your local machine in ensuremainis consistent with the remote branch. - Add annotated git tag with version number and push to GitHub. Making a tag is useful for posterity as well as easily creating a formal release.
- Make formal release on GitHub using the created tag. In the release notes describe what changes have been made using a short bulleted list.