浏览代码

[+] Deploy script

Azalea (on HyDEV-Daisy) 3 年之前
父节点
当前提交
0a6a61a013
共有 1 个文件被更改,包括 17 次插入0 次删除
  1. 17 0
      deploy.sh

+ 17 - 0
deploy.sh

@@ -0,0 +1,17 @@
+#!/usr/bin/env bash
+
+# Stop on error
+set -e
+
+# Remove old build
+rm -rf dist/*
+rm -rf build/*
+
+# Build
+python setup.py sdist bdist_wheel
+
+# Check built files
+twine check dist/*
+
+# Upload
+twine upload dist/*