- 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.md
are up to date with the latest news in the release. -
Make sure that the
branch
variable insetup.py
is''
rather than'devN'
. -
Do a build to ensure that
pyfastnoisesimd/version.py
is 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
artifact
exists, delete it.
-
Create a tag
vX.Y.Z
frommaster
and push the tag to GitHub:git tag -a vX.Y.Z -m "Tagging version X.Y.Z"
git push
git 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.Z
and then remotely on Github,
git push --delete origin vX.Y.Z
- Check on GitHub Actions
github.com/robbmcleod/pyfastnoisesimd/actions
that all the wheels built successfully. - Download
artifacts.zip
and 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/#files
that 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
artifact
anddist
directories.rm artifact/*.whl
rm dist/*.tar.gz
Fin.