2017-10-27 21:51:10 -07:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2018-01-17 20:27:09 -08:00
|
|
|
version=$(head --lines=1 NEWS)
|
|
|
|
git tag $version
|
|
|
|
git push origin $version
|
|
|
|
git push github $version
|
|
|
|
|
2017-10-27 21:51:10 -07:00
|
|
|
rm -fr dist
|
|
|
|
python3 setup.py bdist_wheel
|
|
|
|
python3 setup.py sdist
|
|
|
|
twine upload -r pypi dist/borgmatic-*.tar.gz
|
|
|
|
twine upload -r pypi dist/borgmatic-*-py3-none-any.whl
|