techrec/publish-release

12 lines
243 B
Text
Raw Normal View History

2019-11-15 22:35:56 +01:00
#!/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