diff options
| -rwxr-xr-x | sandbox/infrastructure/release.sh | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/sandbox/infrastructure/release.sh b/sandbox/infrastructure/release.sh index 22d7138b7..672719c4f 100755 --- a/sandbox/infrastructure/release.sh +++ b/sandbox/infrastructure/release.sh @@ -392,10 +392,8 @@ function stage_2() test "$REPLY" || break done confirm test_tarball - echo 'Registering with PyPI...' - echo 'TODO upload to pypi or set download url for this release' - echo "TODO: USE twine docutils-xx.tar.gz ... might require setting .pypirc" - echo "see https://packaging.python.org/guides/migrating-to-pypi-org/#" + echo 'we are registered with PyPI...' + echo 'upload to pypi with twine or set download url for this release' echo 'Press enter to proceed (or enter anything to skip)...' read @@ -403,10 +401,8 @@ function stage_2() echo "Unpacking tarball..." ls -l pwd - run tar xzvf "$tarball" - run cd docutils-"$new_ver" - echo 'TODO upload to pypi' - confirm ./setup.py register + run twine upload "$tarball" + echo "verify on PyPI. hide older releases." fi } |
