mirror of
https://github.com/RYGhub/royalnet.git
synced 2025-02-17 10:53:57 +00:00
11 lines
271 B
Bash
Executable file
11 lines
271 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-$VERSION"*
|
|
hub commit -m "$VERSION"
|
|
hub push
|
|
hub release create -m "Royalnet $VERSION" "$VERSION"
|