X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=RELEASE-CHECKLIST;h=cdd3461a9de1fd5e4e792de25f55d58f2d4b9602;hb=fc440c64836370db9d8cb1a25f09c9df0786f865;hp=af1cbc1571cdcc34f2a6c590fad974f808673a3b;hpb=daf4b02e92a15276eae294d05ca233c3fc145b46;p=adns.git diff --git a/RELEASE-CHECKLIST b/RELEASE-CHECKLIST index af1cbc1..cdd3461 100755 --- a/RELEASE-CHECKLIST +++ b/RELEASE-CHECKLIST @@ -4,15 +4,22 @@ # * Maybe rerun autoconf # * Ensure changelog reflects changes # * Ensure NEWS reflects changes +# * Maybe update copyright dates # * Maybe update MAJOR and/or MINOR in common.make.in # * Update DISTVERSION in Makefile.in # * Update ADNS_VERSION_STRING in client/client.h +# * Update version in ./changelog +# * Commit the result # # * Run this script -# ./RELEASE-CHECKLIST +# ./RELEASE-CHECKLIST [--real] # # * On chiark, maybe, replace ~ian/public-html/adns/current -# with symlink to web-$(version) (as directed by script) +# with symlink to web-$(version) +# +# * On chiark, maybe, replace docs link (as directed by script) +# +# * If not an rc release, put files on ftp.gnu.org # # * Send release announcement (use last one as template) # @@ -20,38 +27,68 @@ set -e +fail () { echo >&2 "$0: $*"; exit 16; } + +real=false +if [ "x$1" = x--real ]; then + real=true; shift +fi + +if [ $# != 1 ]; then fail "wrong # arguments"; fi +wantversion="$1" + version=`sed -n