1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00
This commit is contained in:
Steffo 2019-11-11 10:00:58 +01:00
parent 3058a53934
commit c597badb39

View file

@ -1,12 +1,12 @@
#!/bin/bash
# Royalnet must be installed with `develop`
VERSION=$(python3.7 -m royalnet.version)
VERSION=$(python3.7 -m royalpack.version)
rm -rf dist
python setup.py sdist bdist_wheel
twine upload "dist/royalnet-$VERSION"*
twine upload "dist/royalpack-$VERSION"*
git add *
git commit -m "$VERSION"
git push
hub release create --message "Royalnet $VERSION" --prerelease "$VERSION"
hub release create --message "Version $VERSION" --prerelease "$VERSION"