Skip to content

Commit

Permalink
Update upload scripts for easier GitHub releases
Browse files Browse the repository at this point in the history
  • Loading branch information
Froggo8311 authored and Froggo8311 committed Nov 3, 2022
1 parent 227b980 commit 6ff8019
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions development-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
python setup.py sdist bdist_wheel
python -m twine upload --repository testpypi dist/* --verbose
mv dist/*.whl .
echo "Done. You can now upload the wheel to GitHub."
read -p "Press Enter to delete the wheel. " </dev/tty
rm -rf dist/ build/ *.egg-info/ pheonix/__pycache__ ppm/__pycache__ __pycache__ *.whl
7 changes: 7 additions & 0 deletions production-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
python setup.py sdist bdist_wheel
python -m twine upload dist/* --verbose
mv dist/*.whl .
echo "Done. You can now upload the wheel to GitHub."
read -p "Press Enter to delete the wheel." </dev/tty
rm -rf dist/ build/ *.egg-info/ pheonix/__pycache__ ppm/__pycache__ __pycache__ *.whl

0 comments on commit 6ff8019

Please sign in to comment.