Only publish when tagging

This commit is contained in:
mio
2024-09-26 18:13:43 +08:00
parent 8bd254c6f5
commit 869968a96f
4 changed files with 40 additions and 20 deletions

View File

@@ -0,0 +1,9 @@
#!/bin/sh
# TODO: use cibuildwheel
apk update
apk add gcc make cmake pkgconfig linux-headers git musl-dev patchelf
python3 -m pip install -U pip setuptools auditwheel
cd bindings/python && python3 setup.py bdist_wheel && auditwheel repair dist/*.whl && mv -f wheelhouse/*.whl .