-
Notifications
You must be signed in to change notification settings - Fork 0
Releasing the package
Philipp Saveliev edited this page Nov 19, 2016
·
1 revision
#TODO check https://pypi.python.org/pypi/twine
# Review current version
grep version setup.py && git tag | tail -1
git log --decorate --all --oneline --graph `git tag | tail -1`..HEAD
# Update version number if needed - use vMAJOR.MINOR.PATCH semantic versioning (http://semver.org/)
# Update changelog
date --rfc-3339=date
# Commit changes
# Release PyPI package
python setup.py sdist register upload
git tag v<current version from setup.py>
# Increment "minor" version in setup.py
git diff
git add setup.py && git commit -m "increment version"
git push --tags