summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrubert <grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2017-08-03 10:11:50 +0000
committergrubert <grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2017-08-03 10:11:50 +0000
commit5acf660366e0fa14cefb4702865bc02e69810cc2 (patch)
tree9778c2bf6482ce182e638df39b5803fdd69f5069
parent86e3138bde8a7971ad96d7084671e9e2674579a9 (diff)
downloaddocutils-5acf660366e0fa14cefb4702865bc02e69810cc2.tar.gz
PyPi upload with twine
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8153 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
-rwxr-xr-xsandbox/infrastructure/release.sh12
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
}