diff --git a/.gitignore b/.gitignore index 8def540..ec78566 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ venv/ cli_docs/_build/ dist/ build/ +.pypi_token \ No newline at end of file diff --git a/publish.sh b/publish.sh index 876e34b..7235879 100755 --- a/publish.sh +++ b/publish.sh @@ -6,4 +6,4 @@ rm -rf build/ rm -f dist/* mkdir -p dist python setup.py sdist bdist_wheel -twine upload dist/* +TWINE_PASSWORD=$(cat .pypi_token) twine upload --username '__token__' dist/*