Skip to content

Commit 58db073

Browse files
committed
Use twine instead of deprecated upload command
1 parent 99dc2b8 commit 58db073

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

dev-bin/release.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
set -eu -o pipefail
44

5+
pip install twine sphinx
6+
57
changelog=$(cat HISTORY.rst)
68

79
regex='
@@ -63,4 +65,6 @@ hub release create -m "$message" "$tag"
6365

6466
git push --tags
6567

66-
python setup.py release
68+
rm -fr dist
69+
python setup.py sdist
70+
twine upload dist/*

setup.cfg

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
[aliases]
22
build_html = build_sphinx -b html --build-dir docs
33
sdist = build_html sdist
4-
release = sdist upload

0 commit comments

Comments
 (0)