Skip to content

Commit

Permalink
add deploy script for pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaak Lim committed Apr 19, 2018
1 parent 96e40ce commit c2d2534
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/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
)

0 comments on commit c2d2534

Please sign in to comment.