浏览代码

Adding push and release scripts.

Dan 7 年之前
父节点
当前提交
731c8c9ad9
共有 2 个文件被更改,包括 15 次插入0 次删除
  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