chiark / gitweb /
RELEASE-CHECKLIST: Check that tarball is equal to git tree
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 25 Oct 2014 22:01:50 +0000 (23:01 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 26 Oct 2014 11:45:58 +0000 (11:45 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
RELEASE-CHECKLIST

index e1f45dd..d2fb527 100755 (executable)
@@ -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