diff --git a/dev-bin/release.sh b/dev-bin/release.sh index 0be59ca..ffc971c 100755 --- a/dev-bin/release.sh +++ b/dev-bin/release.sh @@ -2,6 +2,8 @@ set -eu -o pipefail +pip install twine sphinx + changelog=$(cat HISTORY.rst) regex=' @@ -63,4 +65,6 @@ hub release create -m "$message" "$tag" git push --tags -python setup.py release +rm -fr dist +python setup.py sdist +twine upload dist/* diff --git a/setup.cfg b/setup.cfg index 0471615..392f689 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,4 +1,3 @@ [aliases] build_html = build_sphinx -b html --build-dir docs sdist = build_html sdist -release = sdist upload