larigira/publish-release
2019-11-08 15:14:24 +01:00

10 lines
194 B
Bash
Executable file

#!/bin/bash
set -e
set -u
ver=$(git describe --exact-match | tr -d v)
python setup.py sdist bdist_wheel
twine upload -s dist/larigira-${ver}*.whl
twine upload -s dist/larigira-${ver}*.tar.gz