1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-12-17 23:24:20 +00:00
royalnet/to_pypi.sh

13 lines
303 B
Bash
Raw Normal View History

2019-10-25 12:31:41 +00:00
#!/bin/bash
# Royalnet must be installed with `develop`
VERSION=$(python3.7 -m royalnet.version)
rm -rf dist
python setup.py sdist bdist_wheel
2019-10-28 15:48:01 +00:00
twine upload "dist/royalnet-$VERSpiION"*
2019-10-25 13:00:47 +00:00
git add *
git commit -m "$VERSION"
git push
hub release create --message "Royalnet $VERSION" --prerelease "$VERSION"