mirror of
https://github.com/mtshiba/pylyzer.git
synced 2025-07-07 17:45:00 +00:00
Create publish.sh
This commit is contained in:
parent
bb9274ed8f
commit
b9fa9982bc
1 changed files with 11 additions and 0 deletions
11
publish.sh
Executable file
11
publish.sh
Executable file
|
@ -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…
Add table
Add a link
Reference in a new issue