Skip to content

Commit

Permalink
Create publish.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
mtshiba committed Sep 17, 2023
1 parent bb9274e commit b9fa998
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions publish.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
os=$(uname -s)
if [ "$os" = "Darwin" ]; then
platform="macos"
elif [ "$os" = "Linux" ]; then
platform="linux"
else
echo "Unsupported platform: $os"
exit 1
fi
cibuildwheel --output-dir dist --platform $platform
twine upload -u mtshiba -p $PYPI_PASSWORD --skip-existing dist/*

0 comments on commit b9fa998

Please sign in to comment.