Skip to content

Commit

Permalink
docs: new version of twine asks for token *by default*
Browse files Browse the repository at this point in the history
  • Loading branch information
pbodnar committed Jul 14, 2024
1 parent 4e72a63 commit a6b14a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cutting-a-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ For maintainers, here are the basic steps when creating a new release of mistlet
* install / upgrade Twine: `$ python -m pip install --upgrade twine`
* if unsure, upload to test PyPi and/or test locally - see [docs](https://packaging.python.org/en/latest/tutorials/packaging-projects/#uploading-the-distribution-archives)
* do the upload to PyPi: `$ python -m twine upload dist/*`
* for the username, use `__token__`, for the password, use your token from PyPi (see docs again how to do that)
* authenticate with your token from PyPi (for details, see docs again)
* check that you can install locally what you uploaded: `$ python -m pip install mistletoe`
* [create the release in GitHub](https://github.com/miyuchina/mistletoe/releases/new)
* attach the "dist/*.whl" from the previous step to the release (drag & drop) (source code archives are attached automatically)
Expand Down

0 comments on commit a6b14a9

Please sign in to comment.