mirror of https://github.com/mtshiba/pylyzer
Create publish.sh
This commit is contained in:
parent
bb9274ed8f
commit
b9fa9982bc
|
|
@ -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/*
|
||||
Loading…
Reference in New Issue