diff --git a/requirements-dev.txt b/requirements-dev.txt index 83c5c5f..59041bb 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,3 +1,4 @@ +build==0.7.0 coverage mock nose diff --git a/script/release b/script/release index f2c90bf..975aac2 100755 --- a/script/release +++ b/script/release @@ -21,7 +21,7 @@ VERSION="$(grep __VERSION__ "$ROOT/octodns/__init__.py" | sed -e "s/.* = '//" -e git tag -s "v$VERSION" -m "Release $VERSION" git push origin "v$VERSION" echo "Tagged and pushed v$VERSION" -python setup.py sdist -twine check dist/*$VERSION.tar.gz -twine upload dist/*$VERSION.tar.gz +python -m build --sdist --wheel +twine check dist/*$VERSION.tar.gz dist/*$VERSION*.whl +twine upload dist/*$VERSION.tar.gz dist/*$VERSION*.whl echo "Uploaded $VERSION"