-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
This checklist should be completed for every release of pyeq3
- Check new version can be used non-locally (
python -m pip install ., then run from another directory) - Open zenodo, start new version, reserve DOI (currently at the top of Basic Information)
- New branch (pyeq3-Major.Minor)
- Bump version number in new branch (in pyeq3/version.py)
- Update changelog.txt with major changes since the last release.
- Update setup.py (if necessary, probably only Python versions need checking (as we've checked the installation works above), but might be worth checking that
sudo python setup.py sdist bdist_wheelworks without errors) - Update new link to the zenodo version (using the new reserved DOI) in pyeq3/init.py
- Update new link to the zenodo version (using the new reserved DOI) in docs/index.rst
- Update new badge link to zenodo (using the new reserved DOI) in Readme.md
- Push new branch to Github upstream pyeq3-Major.Minor (not master)
- Make release on Github using upstream pyeq3-Major.Minor branch
- Make release commit (tag, not branch) active on readthedocs (you'll need to build from main/latest first so that ReadTheDocs finds the new release tag)
- Build documentation on readthedocs
- Download zip file
- Upload new zip file to zenodo, fill in details on website (including new link to ReadTheDocs)
- Save and publish in zenodo
- Update GitHub release with new zip files and link to the ReadTheDocs documentation
- Push release to Pypi (from clean directory):
- sudo python setup.py sdist bdist_wheel (sudo unfortunately required)
- python -m twine check dist/* (to check zip and wheel)
- python -m twine upload --repository-url https://test.pypi.org/legacy/ dist/* (to test upload, can get password from the pypi website)
- python -m twine upload dist/* (the final upload to Pypi)
- Merge upstream pyeq3-Major.Minor branch to main
- Bump version numbers in version.py on upstream main
- version=[Major].[Minor+1].0pre
- short_version=[Major].[Minor+1].0
- Check and update homepage (especially the downloads section and the zenodo links)
Metadata
Metadata
Assignees
Labels
No labels