Skip to content

Commit

Permalink
Use twine instead of deprecated upload command
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwald committed Sep 27, 2019
1 parent 99dc2b8 commit 58db073
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 5 additions & 1 deletion dev-bin/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

set -eu -o pipefail

pip install twine sphinx

changelog=$(cat HISTORY.rst)

regex='
Expand Down Expand Up @@ -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/*
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
[aliases]
build_html = build_sphinx -b html --build-dir docs
sdist = build_html sdist
release = sdist upload

0 comments on commit 58db073

Please sign in to comment.