Fix uploading Python wheels

This commit is contained in:
Wilson Lin 2020-07-12 02:09:36 +10:00
parent 2140c8b108
commit 2b49d46d2d
1 changed files with 3 additions and 1 deletions

View File

@ -73,5 +73,7 @@ jobs:
EOF
maturin build --release --strip -i "$(which python)"
if [[ "$GITHUB_REF" == refs/tags/v* ]]; then
python -m twine upload target/wheels/*
twine upload target/wheels/*
else
twine upload --repository testpypi target/wheels/*
fi