Skip to content

Commit 09e98d3

Browse files
author
Nosheen Adil
committed
use real pypi deploy
1 parent ac58e92 commit 09e98d3

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

Makefile

+2-7
Original file line numberDiff line numberDiff line change
@@ -169,20 +169,15 @@ docs:
169169
$(VENV_ACTIVATE) $(VENV_NAME) && \
170170
sphinx-build docs docs/build
171171

172-
deploy:
173-
$(VENV_ACTIVATE) $(VENV_NAME) && \
174-
pip install twine && \
175-
twine upload --repository testpypi '$(shell ls $(BUILD_PATH_BIN)/dist/isx-*.whl)'
176-
177172
ifeq ($(DETECTED_OS), linux)
178173
deploy:
179174
docker run -v $(shell pwd):/io quay.io/pypa/manylinux_2_34_x86_64 /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"
180175
$(VENV_ACTIVATE) $(VENV_NAME) && \
181176
pip install twine && \
182-
twine upload --repository testpypi '$(shell ls wheelhouse/isx-*.whl)'
177+
twine upload '$(shell ls wheelhouse/isx-*.whl)'
183178
else
184179
deploy:
185180
$(VENV_ACTIVATE) $(VENV_NAME) && \
186181
pip install twine && \
187-
twine upload --repository testpypi '$(shell ls $(BUILD_PATH_BIN)/dist/isx-*.whl)'
182+
twine upload '$(shell ls $(BUILD_PATH_BIN)/dist/isx-*.whl)'
188183
endif

0 commit comments

Comments
 (0)