Adding push and release scripts.

This commit is contained in:
Dan 2017-10-27 21:51:10 -07:00
parent cc94e5f52f
commit 731c8c9ad9
2 changed files with 15 additions and 0 deletions

6
scripts/push Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
set -e
git push -u origin
git push -u github

9
scripts/release Executable file
View File

@ -0,0 +1,9 @@
#!/bin/bash
set -e
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