use build module with both sdist and wheel packages

This commit is contained in:
Ross McFarland
2021-09-28 17:42:09 -07:00
parent 6959a9a6e1
commit 47f94cc50e
2 changed files with 4 additions and 3 deletions
+1
View File
@@ -1,3 +1,4 @@
build==0.7.0
coverage
mock
nose
+3 -3
View File
@@ -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"