Release Procedures¶
Steps necessary for an uneventful release of YamJam.
Full Release¶
- Merge in outstanding Pull requests
- ensure your local repos is up to date hg sum --remote
- Ensure test suite pass / drone.io
- run release.sh –dry-run and ensure all looks well
- run release.sh --tag --commit and make sure to push any outstanding commits to master
- hg ci -m"Bumpversion 0.x.y -> 0.x'y'"
- create a new empty environment and pip install /localpath/yamjam-x.y.z.gz
- start a python shell, import and test base functionality
from YamJam import yamjam
yamjam()
- upload package to pypi, twine upload sdist/*
- verify new dist is available on pypi
- Be Happy
Build Dist Only¶
python setup.py sdist
Install and test dist locally¶
- Build Dist Only
- Create clean environment
- install local dist file in clean environment
pip install /localpath/to/dist/yamjam-x.y.z.gz
- start a python shell, import and test base functionality
from YamJam import yamjam
yamjam()
- remove testing environment