#!/usr/bin/env sh set -eof pipefail BRANCH=$1 if [[ $# -eq 0 ]] ; then echo 'Branch required as first argument' exit 0 fi