mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
use build module with both sdist and wheel packages
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
build==0.7.0
|
||||||
coverage
|
coverage
|
||||||
mock
|
mock
|
||||||
nose
|
nose
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ VERSION="$(grep __VERSION__ "$ROOT/octodns/__init__.py" | sed -e "s/.* = '//" -e
|
|||||||
git tag -s "v$VERSION" -m "Release $VERSION"
|
git tag -s "v$VERSION" -m "Release $VERSION"
|
||||||
git push origin "v$VERSION"
|
git push origin "v$VERSION"
|
||||||
echo "Tagged and pushed v$VERSION"
|
echo "Tagged and pushed v$VERSION"
|
||||||
python setup.py sdist
|
python -m build --sdist --wheel
|
||||||
twine check dist/*$VERSION.tar.gz
|
twine check dist/*$VERSION.tar.gz dist/*$VERSION*.whl
|
||||||
twine upload dist/*$VERSION.tar.gz
|
twine upload dist/*$VERSION.tar.gz dist/*$VERSION*.whl
|
||||||
echo "Uploaded $VERSION"
|
echo "Uploaded $VERSION"
|
||||||
|
|||||||
Reference in New Issue
Block a user