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
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)
21 version=`sed -n <Makefile.in 's/^DISTVERSION=[ ]*//p'`
23 gpgkey='-u 0x48B50D39'
24 chiark=chiark:/u/ian/public-html/adns
27 x () { echo "----- $* -----"; "$@"; }
37 distfile=adns-$version.tar.gz
40 tag=adns-${version//\~/-}
43 x gpg --detach-sign $distfile
44 x git tag -s $gpgkey -m "adns release $version" $tag
45 x git push origin $tag~0:master $tag
47 distfiles="$distfile $distfile.sig"
48 x rsync -vP $distfiles $chiarkftp/
50 x rsync -rvP web/. $chiark/$webout
52 x sha256sum $distfiles
56 TO UPDATE WEB PAGE DOCS:
60 ln -s $webout docs.tmp