release.sh: Add upload command

To upload the release package to pypi.org, add upload command.

Signed-off-by: Shin'ichiro Kawasaki <kawasaki@juno.dti.ne.jp>
This commit is contained in:
Shin'ichiro Kawasaki
2020-10-23 14:37:20 +09:00
parent 4ff47e2368
commit 22dbd5e092

View File

@@ -12,6 +12,10 @@ case ${1} in
build)
python setup.py sdist bdist_wheel
;;
upload)
shift
python -m twine upload "$@"
;;
upload-testpypi)
shift
python -m twine upload --repository testpypi "$@"