X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=RELEASE-CHECKLIST;h=cdd3461a9de1fd5e4e792de25f55d58f2d4b9602;hb=93f7bd337ed852f7d870e538117cf1ef25bba5ac;hp=9001461b4837a8d0ba0835d3f967d74de1c0af51;hpb=28747f70aa4b085e74b02c6b8b20db86d41ed6f0;p=adns.git diff --git a/RELEASE-CHECKLIST b/RELEASE-CHECKLIST index 9001461..cdd3461 100755 --- a/RELEASE-CHECKLIST +++ b/RELEASE-CHECKLIST @@ -4,52 +4,91 @@ # * 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) +# +# * Update DISTVERSION, ADNS_VERSION_STRING and start new changelog entry 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