From 731c8c9ad91bd3ac53a2946d164f85ce664cc52a Mon Sep 17 00:00:00 2001 From: Dan Date: Fri, 27 Oct 2017 21:51:10 -0700 Subject: [PATCH] Adding push and release scripts. --- scripts/push | 6 ++++++ scripts/release | 9 +++++++++ 2 files changed, 15 insertions(+) create mode 100755 scripts/push create mode 100755 scripts/release diff --git a/scripts/push b/scripts/push new file mode 100755 index 0000000..1aba7ec --- /dev/null +++ b/scripts/push @@ -0,0 +1,6 @@ +#!/bin/bash + +set -e + +git push -u origin +git push -u github diff --git a/scripts/release b/scripts/release new file mode 100755 index 0000000..288e841 --- /dev/null +++ b/scripts/release @@ -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