From 48dd4282c59e3d3a16582e63d8190f312f1f3ba7 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 25 Oct 2014 22:04:22 +0100 Subject: [PATCH] RELEASE-CHECKLIST: Require version argument Signed-off-by: Ian Jackson --- RELEASE-CHECKLIST | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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