Skip to content

Commit

Permalink
Update pypi publish script to use API token
Browse files Browse the repository at this point in the history
  • Loading branch information
cberner committed Nov 26, 2023
1 parent fa35061 commit 0c8c9d8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ flamegraph:
cargo flamegraph --bench lmdb_benchmark
firefox ./flamegraph.svg

export MATURIN_PYPI_TOKEN:=`cat ~/.pypi/redb_token`

publish_py: test_py
docker pull quay.io/pypa/manylinux2014_x86_64
docker run -it --rm -v `pwd`:/redb-ro:ro quay.io/pypa/manylinux2014_x86_64 /redb-ro/py_publish.sh
docker run -it --rm -e "MATURIN_PYPI_TOKEN" -v `pwd`:/redb-ro:ro quay.io/pypa/manylinux2014_x86_64 /redb-ro/py_publish.sh

test_py: install_py
python3 -m unittest discover
Expand Down

0 comments on commit 0c8c9d8

Please sign in to comment.