twine check before upload

This commit is contained in:
Ross McFarland
2019-09-30 10:18:35 -07:00
parent a1d2217604
commit e3ad57d15b
+1
View File
@@ -22,5 +22,6 @@ 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
echo "Uploaded $VERSION"