#!/bin/bash -xe if [ "$1" = "--help" ] ; then echo "Usage: " return fi version="$1" key="$2" type="$3" number="$4" [ -z $version ] && exit 1 [ -z $key ] && exit 2 [ -z $type ] && exit 3 [ -z $number ] && exit 4 [ -z $prebuit_path ] && exit 5 mkdir libindy_crypto-zip mkdir libindy_crypto-zip/lib cp -r ./include ./libindy_crypto-zip cp ./target/release/*.dll ./libindy_crypto-zip/lib/ cp $prebuit_path/lib/*.dll ./libindy_crypto-zip/lib/ cd libindy_crypto-zip && zip -r libindy_crypto_${version}.zip ./* && mv libindy_crypto_${version}.zip .. && cd .. rm -rf libindy_crypto-zip cat <