pylyzer/publish.sh
Shunsuke Shibayama b9fa9982bc Create publish.sh
2023-09-18 02:01:33 +09:00

11 lines
291 B
Bash
Executable file

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/*