Removing make script for building binary and pypi dist. These should be done separately and should be done with build instructions not a bash script (i think).

This commit is contained in:
Anton Hvornum 2021-03-08 13:08:44 +01:00
parent c55fc11cae
commit bbf9face05
1 changed files with 0 additions and 18 deletions

18
make.sh
View File

@ -1,18 +0,0 @@
#!/bin/bash
# Description: Binary builder for https://archlinux.life/bin/
VERSION=$(cat VERSION)
rm -rf archinstall.egg-info/ build/ src/ pkg/ dist/ archinstall.build/ "archinstall-v${VERSION}-x86_64/" *.pkg.*.xz archinstall-*.tar.gz
#nuitka3 --standalone --show-progress archinstall
#cp -r examples/ archinstall.dist/
#mv archinstall.dist "archinstall-v${VERSION}-x86_64"
#tar -czvf "archinstall-v${VERSION}.tar.gz" "archinstall-v${VERSION}-x86_64"
# makepkg -f
python3 setup.py sdist bdist_wheel
echo 'python3 -m twine upload dist/* && rm -rf dist/'
python3 -m twine upload dist/* && rm -rf dist/
rm -rf archinstall.egg-info/ build/ src/ pkg/ archinstall.build/ "archinstall-v${VERSION}-x86_64/"