Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 1.49 KB

RELEASING.md

File metadata and controls

50 lines (33 loc) · 1.49 KB

Releasing PySpectral

prerequisites: pip install bumpversion setuptools twine

NB! You do not need mercurial. bumpversion is supposed to function without it. If it still doesn't work it might be that your PATH variable is screwed up. Check that all elements of your PATH are readable!

  1. checkout master
  2. pull from repo
  3. run the unittests
  4. run loghub and update the CHANGELOG.md file:
loghub pytroll/pyspectral -u <username> -st v0.7.1 -plg bug "Bugs fixed" -plg enhancement "Features added" -plg documentation "Documentation changes"

Don't forget to commit!

  1. run bumpversion with either patch, minor, major, pre, or num to reach the desired version number

See semver.org for the definition of those values.

If the current "dev" version is not the desired version run:

bumpversion <level>

Where level is num, pre, patch, minor, or major to get to the correct version. Check version.py to verify proper version. Then run:

bumpversion --tag release

To remove the devN portion of the version number and tag the release.

  1. push changes to github git push --follow-tags
  2. Verify travis tests passed and deploy sdist and wheel to PyPI
  3. Update version to "dev" version of next release:
bumpversion patch

Which will set the version to "X.Y.Zdev0"

See this issue for more information.

  1. Push changes to github git push (there shouldn't be any new tags).