diff --git a/build.sh b/build.sh deleted file mode 100755 index 9e826c6..0000000 --- a/build.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -set -x -exec python3 setup.py sdist bdist_wheel diff --git a/build_and_publish.sh b/build_and_publish.sh index 492747e..a39fe66 100755 --- a/build_and_publish.sh +++ b/build_and_publish.sh @@ -1,12 +1,6 @@ #!/bin/sh - -set -ex - -./clean.sh - -./build.sh -./publish.sh - -./clean.sh - -exit 0 +set -eux +rm -rf build dist src/*.egg-info +python3 setup.py sdist bdist_wheel +twine check dist/* +twine upload dist/* --verbose diff --git a/clean.sh b/clean.sh deleted file mode 100755 index 7be66bb..0000000 --- a/clean.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -set -x -exec rm -rf build dist src/*.egg-info diff --git a/publish.sh b/publish.sh deleted file mode 100755 index 2841174..0000000 --- a/publish.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -set -x -exec twine upload dist/*