-
Notifications
You must be signed in to change notification settings - Fork 30
How to make a release
Hendrik Buschmeier edited this page Feb 28, 2019
·
5 revisions
Releasing a new version of TextGridTools on GitHub and PyPI is very easy:
- Update the version number in the file
setup.py
. - Commit your changes and push them to GitHub.
- Either
- Add a tag of the version number, e.g.,
git tag 1.0.2 -a -m "Version 1.0.2"
and then push the new tag to GitHubgit push --tags
. - Use GitHub's "Draft a new release" feature to make a new release.
- Add a tag of the version number, e.g.,
- Write a release note on GitHub.
- Upload the source distribution of the new release to PyPI by executing
python3 -m twine dist/*
.
That’s it.