-
Notifications
You must be signed in to change notification settings - Fork 3
Performing a Release
Nils Homer edited this page Nov 29, 2021
·
12 revisions
- Config the repository
$ poetry config repositories.testpypi https://test.pypi.org/legacy/
- build the package with
$ poetry build
- test run
$ poetry publish -r testpypi -u <username> -p <password> --dry-run
- publish with
$ poetry publish -r testpypi -u <username> -p <password>
- make sure you're on the
main
branch - build the package with
$ poetry build
- test run
$ poetry publish --dryrun
- publish with
$ poetry publish
- tag the release, and update release notes on github
- bump the minor version in the
pyproject.toml
file, for example to bump from0.0.1
to0.0.2
:
poetry version 0.0.2