Skip to content

Latest commit

 

History

History
81 lines (50 loc) · 1.96 KB

RELEASING.md

File metadata and controls

81 lines (50 loc) · 1.96 KB

Releasing PyFastNoiseSIMD

Following are notes for releasing PyFastNoiseSIMD.

Preliminaries

  • 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 in setup.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.

Tagging

  • Create a tag vX.Y.Z from master 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

Build Wheels

  • Check on GitHub Actions github.com/robbmcleod/pyfastnoisesimd/actions that all the wheels built successfully.
  • Download artifacts.zip and unzip.

Releasing

  • 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.

Announcing

  • Currently not announcing this package anywhere.

Post-release Actions

  • 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 and dist directories.

    rm artifact/*.whl rm dist/*.tar.gz

Fin.