1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00

Add twine dev requirement, use it in script/release

This commit is contained in:
Ross McFarland
2018-03-31 12:09:05 -07:00
parent fe5ab9e866
commit 0b4f32e363
2 changed files with 3 additions and 1 deletions

View File

@@ -10,5 +10,6 @@ VERSION=$(grep __VERSION__ $ROOT/octodns/__init__.py | sed -e "s/.* = '//" -e "s
git tag -s v$VERSION -m "Release $VERSION"
git push origin v$VERSION
echo "Tagged and pushed v$VERSION"
python setup.py sdist upload
python setup.py sdist
twine upload dist/*$VERSION.tar.gz
echo "Uploaded $VERSION"