-
Notifications
You must be signed in to change notification settings - Fork 18
Development: bump version
Bas des Tombe edited this page Jan 27, 2020
·
1 revision
To run the all tests run:
tox
To bump version and docs:
git status # to make sure no unversioned modifications are in the repository
tox # Performes tests and creates documentation and runs notebooks
git status # Only notebook related files should be shown
git add --all # Add all notebook related files to local version
git commit -m "Updated notebook examples to reflect recent changes"
# update CHANGELOG.rst with the recent commits
# update AUTHORS.rst
bumpversion patch # (major, minor, patch)
git push
rm -rf build # Clean local folders (not synced) used for pip wheel
rm -rf src/*.egg-info
rm -rf dist/*
python setup.py clean --all sdist bdist_wheel
twine upload --repository-url https://upload.pypi.org/legacy/ dist/dtscalibration*
On GitHub draft a new release
# GitHub > Code > Releases > Draft a new release
# Tag: v1.2.3
# Title: v1.2.3
# Describtion: Copy-paste the new part of CHANGELOG.rst