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 e1f45dd0c5a556e671adcfb45bf4c49bbb9b007a..d2fb527b0b1afee757fbe25af90c22cb2e8285ca 100755 (executable)
@@ -51,9 +51,22 @@ x make dist
 rm -rf web
 x make web-install
 
 rm -rf web
 x make web-install
 
-distfile=adns-$version.tar.gz
+distdir=adns-$version
+distfile=$distdir.tar.gz
 x test -f $distfile
 
 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
 
 tag=adns-${version//\~/-}
 webout=docs-$version