- Author: Robert A. McLeod
- Contact: robbmcleod@gmail.com
- Date: 2021-03-21
Following are notes for releasing PyFastNoiseSIMD.
-
Make sure that the release notes in
README.mdare up to date with the latest news in the release. -
Make sure that the
branchvariable insetup.pyis''rather than'devN'. -
Do a build to ensure that
pyfastnoisesimd/version.pyis correct:python setup.py build -
Do a commit and a push:
git commit -a -m "Getting ready for release X.Y.Z" -
If the directory
artifactexists, delete it.
-
Create a tag
vX.Y.Zfrommasterand push the tag to GitHub:git tag -a vX.Y.Z -m "Tagging version X.Y.Z"git pushgit push --tags -
If you happen to have to delete the tag, such as artifacts demonstrates a fault, first delete it locally,
git tag --delete vX.Y.Zand then remotely on Github,
git push --delete origin vX.Y.Z
- Check on GitHub Actions
github.com/robbmcleod/pyfastnoisesimd/actionsthat all the wheels built successfully. - Download
artifacts.zipand unzip.
-
Upload the built wheels to PyPi via Twine.
twine upload artifact/pyfastnoisesimd*.whl -
Upload the source distribution.
twine upload artifact/pyfastnoisesimd*.tar.gz -
Check on
pypi.org/project/pyfastnoisesimd/#filesthat the wheels and source have uploaded as expected.
- Currently not announcing this package anywhere.
-
Version bump in
setup.py, e.g.X.Y.Z->X.Y.(Z+1).dev0. -
Create new headers for adding features in
README.md. The first bullet point should be* **Under development.** -
Commit these changes
git commit -a -m "Post X.Y.Z release actions done"git push -
Clean
artifactanddistdirectories.rm artifact/*.whlrm dist/*.tar.gz
Fin.