574fa1b7ab6589dec174ac3fd65e3191c9b780b0
2 # This is for the benefit of the upstream maintainers of GNU adns
4 # * Maybe rerun autoconf
5 # * Ensure changelog reflects changes
6 # * Ensure NEWS reflects changes
7 # * Maybe update MAJOR and/or MINOR in common.make.in
8 # * Update DISTVERSION in Makefile.in
9 # * Update ADNS_VERSION_STRING in client/client.h
12 # ./RELEASE-CHECKLIST <version>
14 # * On chiark, maybe, replace ~ian/public-html/adns/current
15 # with symlink to web-$(version) (as directed by script)
17 # * Send release announcement (use last one as template)
19 # * Update DISTVERSION, ADNS_VERSION_STRING and start new changelog entry
23 fail
() { echo >&2 "$0: $*"; exit 16; }
25 if [ $# != 1 ]; then fail
"wrong # arguments"; fi
28 version
=`sed -n <Makefile.in 's/^DISTVERSION=[ ]*//p'`
30 if [ "x$version" != "x$wantversion" ]; then
31 fail
"you say version $wantversion but tree is $version"
34 gpgkey
='-u 0x48B50D39'
35 chiark
=chiark
:/u
/ian
/public-html
/adns
38 x
() { echo "----- $* -----"; "$@"; }
48 distfile
=adns-
$version.
tar.gz
51 tag
=adns-
${version//\~/-}
54 x gpg
--detach-sign
$distfile
55 x git tag
-s
$gpgkey -m
"adns release $version" $tag
56 x git push origin
$tag~
0:master
$tag
58 distfiles
="$distfile $distfile.sig"
59 x rsync
-vP
$distfiles $chiarkftp/
61 x rsync
-rvP web
/.
$chiark/$webout
63 x sha256sum
$distfiles
67 TO UPDATE WEB PAGE DOCS:
71 ln -s $webout docs.tmp