From: Ian Jackson Date: Sat, 25 Oct 2014 21:04:22 +0000 (+0100) Subject: RELEASE-CHECKLIST: Require version argument X-Git-Tag: adns-1.5.0-rc1~10 X-Git-Url: https://git.distorted.org.uk/~mdw/adns/commitdiff_plain/48dd4282c59e3d3a16582e63d8190f312f1f3ba7 RELEASE-CHECKLIST: Require version argument Signed-off-by: Ian Jackson --- diff --git a/RELEASE-CHECKLIST b/RELEASE-CHECKLIST index af1cbc1..574fa1b 100755 --- a/RELEASE-CHECKLIST +++ b/RELEASE-CHECKLIST @@ -9,7 +9,7 @@ # * Update ADNS_VERSION_STRING in client/client.h # # * Run this script -# ./RELEASE-CHECKLIST +# ./RELEASE-CHECKLIST # # * On chiark, maybe, replace ~ian/public-html/adns/current # with symlink to web-$(version) (as directed by script) @@ -20,8 +20,17 @@ set -e +fail () { echo >&2 "$0: $*"; exit 16; } + +if [ $# != 1 ]; then fail "wrong # arguments"; fi +wantversion="$1" + version=`sed -n