publish release script
This commit is contained in:
parent
b956076fc5
commit
d8c8520950
1 changed files with 11 additions and 0 deletions
11
publish-release
Executable file
11
publish-release
Executable file
|
@ -0,0 +1,11 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
set -u
|
||||||
|
|
||||||
|
ver=$(git describe --exact-match | tr -d v)
|
||||||
|
|
||||||
|
python setup.py sdist bdist_egg bdist_wheel
|
||||||
|
twine upload -s dist/techrec-${ver}*.whl
|
||||||
|
twine upload -s dist/techrec-${ver}*.egg
|
||||||
|
twine upload -s dist/techrec-${ver}*.tar.gz
|
Loading…
Reference in a new issue