techrec/publish-release
2019-11-15 22:35:56 +01:00

11 行
243 B
Bash
可执行文件

#!/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