use API token to upload to PyPi
User/password auth is deprecated for Twine.
This commit is contained in:
parent
a1c946db9e
commit
96f149feaa
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,3 +5,4 @@ venv/
|
|||||||
cli_docs/_build/
|
cli_docs/_build/
|
||||||
dist/
|
dist/
|
||||||
build/
|
build/
|
||||||
|
.pypi_token
|
@ -6,4 +6,4 @@ rm -rf build/
|
|||||||
rm -f dist/*
|
rm -f dist/*
|
||||||
mkdir -p dist
|
mkdir -p dist
|
||||||
python setup.py sdist bdist_wheel
|
python setup.py sdist bdist_wheel
|
||||||
twine upload dist/*
|
TWINE_PASSWORD=$(cat .pypi_token) twine upload --username '__token__' dist/*
|
||||||
|
Loading…
Reference in New Issue
Block a user