From: Ian Jackson Date: Sat, 25 Oct 2014 22:01:50 +0000 (+0100) Subject: RELEASE-CHECKLIST: Check that tarball is equal to git tree X-Git-Tag: adns-1.5.0-rc1~8 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=adns.git;a=commitdiff_plain;h=29bad808efa66ac3cd1169d1643bb6479abc1995;ds=sidebyside RELEASE-CHECKLIST: Check that tarball is equal to git tree Signed-off-by: Ian Jackson --- diff --git a/RELEASE-CHECKLIST b/RELEASE-CHECKLIST index e1f45dd..d2fb527 100755 --- a/RELEASE-CHECKLIST +++ b/RELEASE-CHECKLIST @@ -51,9 +51,22 @@ x make dist rm -rf web x make web-install -distfile=adns-$version.tar.gz +distdir=adns-$version +distfile=$distdir.tar.gz x test -f $distfile +rm -rf dist_tmp +mkdir dist_tmp +cd dist_tmp +tar axf ../$distfile +cd $distdir +git init --quiet +git fetch --quiet ../.. HEAD +git add . +git commit --quiet -m T +git diff --exit-code FETCH_HEAD +cd ../.. + tag=adns-${version//\~/-} webout=docs-$version