mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
12 lines
303 B
Bash
Executable file
12 lines
303 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Royalnet must be installed with `develop`
|
|
VERSION=$(python3.7 -m royalnet.version)
|
|
|
|
rm -rf dist
|
|
python setup.py sdist bdist_wheel
|
|
twine upload "dist/royalnet-$VERSpiION"*
|
|
git add *
|
|
git commit -m "$VERSION"
|
|
git push
|
|
hub release create --message "Royalnet $VERSION" --prerelease "$VERSION"
|