diff --git a/Makefile b/Makefile index eb9575f..9008c8b 100644 --- a/Makefile +++ b/Makefile @@ -44,7 +44,7 @@ release_py: pre .PHONY: publish_py publish_py: test_py docker pull quay.io/pypa/manylinux2014_x86_64 - docker run -it --rm -v $(shell pwd):/raptorq-ro:ro quay.io/pypa/manylinux2014_x86_64 /raptorq-ro/py_publish.sh + @MATURIN_PYPI_TOKEN=$(shell cat ~/.pypi/raptorq_token) docker run -it --rm -e "MATURIN_PYPI_TOKEN" -v $(shell pwd):/raptorq-ro:ro quay.io/pypa/manylinux2014_x86_64 /raptorq-ro/py_publish.sh .PHONY: install_py install_py: pre diff --git a/py_publish.sh b/py_publish.sh index 3e5c130..f6d1fe7 100755 --- a/py_publish.sh +++ b/py_publish.sh @@ -15,4 +15,4 @@ source /tmp/venv/bin/activate python3 -m pip install --upgrade pip python3 -m pip install 'maturin>=1.0,<2.0' -python3 -m maturin publish +python3 -m maturin publish --username __token__