API: Provide adns_qf_cname_strict
[adns] / RELEASE-CHECKLIST
CommitLineData
28747f70
IJ
1#!/bin/bash
2# This is for the benefit of the upstream maintainers of GNU adns
3#
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
10#
11# * Run this script
12# ./RELEASE-CHECKLIST
13#
14# * On chiark, maybe, replace ~ian/public-html/adns/current
15# with symlink to web-$(version) (as directed by script)
16#
17# * Send release announcement (use last one as template)
daf4b02e
IJ
18#
19# * Update DISTVERSION, ADNS_VERSION_STRING and start new changelog entry
28747f70
IJ
20
21set -e
22
23version=`sed -n <Makefile.in 's/^DISTVERSION=[ ]*//p'`
24
25gpgkey='-u 0x48B50D39'
26chiark=chiark:/u/ian/public-html/adns
27chiarkftp=$chiark/ftp
28
29x () { echo "----- $* -----"; "$@"; }
30
31x git clean -xdff
32x ./configure
33x make -j4
34x make check
35x make dist
36rm -rf web
37x make web-install
38
39distfile=adns-$version.tar.gz
40x test -f $distfile
41
42tag=adns-${version//\~/-}
43webout=docs-$version
44
45x gpg --detach-sign $distfile
46x git tag -s $gpgkey -m "adns release $version" $tag
47x git push origin $tag~0:master $tag
48
49distfiles="$distfile $distfile.sig"
50x rsync -vP $distfiles $chiarkftp/
51
52x rsync -rvP web/. $chiark/$webout
53
54x sha256sum $distfiles
55
56cat <<END
57
58TO UPDATE WEB PAGE DOCS:
59 ssh ${chiark%%:*}
60 cd ${chiark#*:}
61 rm -f docs.tmp
62 ln -s $webout docs.tmp
63 mv -Tf docs.tmp docs
64END