publish release script

This commit is contained in:
boyska 2019-11-15 22:35:56 +01:00
parent b956076fc5
commit d8c8520950

11
publish-release Executable file
View 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