diff --git a/script/release b/script/release index bcc0ba3..eadd2e1 100755 --- a/script/release +++ b/script/release @@ -10,5 +10,6 @@ VERSION=$(grep __VERSION__ $ROOT/octodns/__init__.py | sed -e "s/.* = '//" -e "s git tag -s v$VERSION -m "Release $VERSION" git push origin v$VERSION echo "Tagged and pushed v$VERSION" -python setup.py sdist upload +python setup.py sdist +twine upload dist/*$VERSION.tar.gz echo "Uploaded $VERSION" diff --git a/setup.cfg b/setup.cfg index 51a1c69..15fed62 100644 --- a/setup.cfg +++ b/setup.cfg @@ -58,6 +58,7 @@ dev = ovh>=0.4.7 s3transfer>=0.1.10 six>=1.10.0 + twine>=1.11.0 test = coverage mock