Commit c2d25349 authored by Isaak Lim's avatar Isaak Lim

add deploy script for pypi

parent 96e40cec
Pipeline #6865 passed with stages
in 7 minutes and 15 seconds
#!/bin/bash
for name in "deploy-sdist" "deploy-2.7-macos" "deploy-3.5-macos" "deploy-2.7-linux" "deploy-3.5-linux" "deploy-3.6-VS2017"
do
wget "https://www.graphics.rwth-aachen.de:9000/OpenMesh/openmesh-python/-/jobs/artifacts/master/download?job=$name" -O "$name.zip"
unzip "$name.zip"
rm -f "$name.zip"
done
(
cd release
for name in $(find -type f -name "*-linux_*.whl")
do
echo $name
newname="$(echo $name | sed -e 's/-linux_/-manylinux1_/')";
mv $name $newname
done
twine upload *.tar.gz
twine upload *.whl
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment