소스 검색

[+] 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/*