Skip to content

Commit 47e36fc

Browse files
author
Nosheen Adil
committed
fix linux deploy
1 parent a804778 commit 47e36fc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Makefile

+4-2
Original file line numberDiff line numberDiff line change
@@ -168,13 +168,15 @@ docs:
168168
$(VENV_ACTIVATE) $(VENV_NAME) && \
169169
sphinx-build docs docs/build
170170

171-
ifeq ($(DETECTED_OS), linux)
172-
deploy:
171+
repair-linux:
173172
docker run \
174173
-v $(shell pwd):/io \
175174
-u $(shell id -u ${USER}):$(shell id -g ${USER}) \
176175
quay.io/pypa/manylinux_2_34_x86_64 \
177176
/bin/bash -c "cd /io && LD_LIBRARY_PATH=/io/build/Release/bin/isx/lib:$LD_LIBRARY_PATH auditwheel repair /io/build/Release/bin/dist/isx*.whl"
177+
178+
ifeq ($(DETECTED_OS), linux)
179+
deploy: repair-linux
178180
$(VENV_ACTIVATE) $(VENV_NAME) && \
179181
pip install twine && \
180182
twine upload --repository testpypi '$(shell ls wheelhouse/isx-*.whl)'

0 commit comments

Comments
 (0)