Commit 11019391 authored by Janis Born's avatar Janis Born

add option to specify a revision to publish in deploy.sh

parent 0a0c5154
Pipeline #7285 passed with stages
in 5 minutes and 48 seconds
#!/bin/bash
# usage:
# ./deploy.sh [revision]
#
# revision: tag, branch name, or commit to publish. Default is 'master'
revision=${1:-master}
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"
wget "https://www.graphics.rwth-aachen.de:9000/OpenMesh/openmesh-python/-/jobs/artifacts/$revision/download?job=$name" -O "$name.zip"
unzip "$name.zip"
rm -f "$name.zip"
done
......
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