Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/make.sh
diff options
context:
space:
mode:
Diffstat (limited to 'make.sh')
-rwxr-xr-xmake.sh18
1 files changed, 10 insertions, 8 deletions
diff --git a/make.sh b/make.sh
index e369209a..30e622f8 100755
--- a/make.sh
+++ b/make.sh
@@ -1,15 +1,17 @@
#!/bin/bash
-# Description: Crude build/maker script for PKGBUILD dependencies and stuff.
+# Description: Binary builder for https://archlinux.life/bin/
-rm -rf archinstall.egg-info/ build/ src/ pkg/ dist/ archinstall.build/ archinstall-v2.0.4rc3-x86_64/ *.pkg.*.xz archinstall-*.tar.gz
+VERSION="2.0.4rc4"
+
+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-v2.0.4rc3-x86_64
-tar -czvf archinstall-v2.0.4rc3.tar.gz archinstall-v2.0.4rc3-x86_64
-makepkg -f
+mv archinstall.dist "archinstall-v${VERSION}-x86_64"
+tar -czvf "archinstall-v${VERSION}.tar.gz" "archinstall-v${VERSION}-x86_64"
-python3 setup.py sdist bdist_wheel
-echo 'python3 -m twine upload dist/*; rm -rf dist/'
+# makepkg -f
+# python3 setup.py sdist bdist_wheel
+# echo 'python3 -m twine upload dist/*; rm -rf dist/'
-rm -rf archinstall.egg-info/ build/ src/ pkg/ archinstall.build/ archinstall-v2.0.4rc3-x86_64/
+rm -rf archinstall.egg-info/ build/ src/ pkg/ archinstall.build/ "archinstall-v${VERSION}-x86_64/"