diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2014-10-25 23:01:50 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2014-10-26 11:45:58 +0000 |
commit | 29bad808efa66ac3cd1169d1643bb6479abc1995 (patch) | |
tree | 9081b01f3a4778d02fe2ff15bdcfedb716cce553 | |
parent | a75f34242c192291f1f364d19e034e16d4800ff5 (diff) |
RELEASE-CHECKLIST: Check that tarball is equal to git tree
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
-rwxr-xr-x | RELEASE-CHECKLIST | 15 |
1 files changed, 14 insertions, 1 deletions
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 |