Skip to content

Releasing Instructions

Adam J. Stewart edited this page Dec 19, 2020 · 11 revisions

Below are a list of instructions for creating a new release of fiscalyear. Fiscalyear uses semantic versioning for its version numbering.

Updating the Code

  1. Make sure all tests pass, and we have 100% coverage
  2. Change the __version__ in fiscalyear.py
  3. Update list of tested Python versions in .github/workflows/pytest.yaml
  4. Update list of supported Python versions in setup.py
  5. Update the download url in setup.py

Releasing on GitHub

Follow the instructions at https://help.github.com/en/github/administering-a-repository/creating-releases

Releasing on PyPI

  1. python setup.py sdist
  2. Check fiscalyear.egg-info/SOURCES.txt and make sure all important files are included
  3. twine upload dist/*

Releasing on Conda

Submit a PR to https://github.com/conda-forge/fiscalyear-feedstock

Releasing on Spack

Submit a PR to https://github.com/spack/spack

Clone this wiki locally