Browse Source

Adding push and release scripts.

Dan 7 năm trước cách đây
mục cha
commit
731c8c9ad9
2 tập tin đã thay đổi với 15 bổ sung0 xóa
  1. 6 0
      scripts/push
  2. 9 0
      scripts/release

+ 6 - 0
scripts/push

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

+ 9 - 0
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