Skip to content

Commit 2d52ad5

Browse files
authored
Remove automated publish workflow (#155)
The convenience isn't worth the risk that comes with a compromised GitHub account
1 parent 06e95d2 commit 2d52ad5

2 files changed

Lines changed: 7 additions & 44 deletions

File tree

.github/workflows/publish.yaml

Lines changed: 0 additions & 44 deletions
This file was deleted.

bindings/Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ build-release:
1212
build-python: build-release
1313
cd python && uv build
1414

15+
prepare-release-python: build-python
16+
cd python && \
17+
uvx auditwheel repair dist/*-py3-none-any.whl --wheel-dir dist/ && \
18+
rm dist/*-py3-none-any.whl && \
19+
uv run --isolated --no-project --with dist/*.whl python -c "import boltz_client" && \
20+
uv run --isolated --no-project --with dist/*.tar.gz python -c "import boltz_client"
21+
1522
format-python:
1623
# Also formats Python tests
1724
cd python && uv run ruff format . ../tests/bindings

0 commit comments

Comments
 (0)