1#!/bin/bash 2# Script to download / check and upload scikit_image wheels for release 3if [ "`which twine`" == "" ]; then 4 echo "twine not on path; need to pip install twine?" 5 exit 1 6fi 7if [ "`which wheel-uploader`" == "" ]; then 8 echo "wheel-uploader not on path; see https://github.com/MacPython/terryfy" 9 exit 1 10fi 11SK_VERSION=`git describe --tags` 12if [ "${SK_VERSION:0:1}" != 'v' ]; then 13 echo "scikit image version $SK_VERSION does not start with 'v'" 14 exit 1 15fi 16echo "Trying download / upload of version ${SK_VERSION:1}" 17wheel-uploader -v scikit_image "${SK_VERSION:1}" 18wheel-uploader -v scikit_image -t manylinux1 "${SK_VERSION:1}" 19wheel-uploader -v scikit_image -t win "${SK_VERSION:1}" 20