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!
- checkout master
- pull from repo
- run the unittests
- run
loghub
and update theCHANGELOG.md
file:
loghub pytroll/pyresample -u <username> -st v0.8.0 -plg bug "Bugs fixed" -plg enhancement "Features added" -plg documentation "Documentation changes"
Don't forget to commit!
- run
bumpversion
with eitherpatch
,minor
,major
,pre
, ornum
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.
- push changes to github
git push --follow-tags
- Verify travis tests passed and deploy sdist and wheel to PyPI
- 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.
- Push changes to github
git push
(there shouldn't be any new tags).