comparison release.sh @ 1069:2fa71c3b2827 pam

merge pam branch up to date
author Matt Johnston <matt@ucc.asn.au>
date Mon, 16 Mar 2015 21:34:05 +0800
parents 1d2d81b1b7c1
children 40434003bd96
comparison
equal deleted inserted replaced
1068:9a6395ddb1b6 1069:2fa71c3b2827
5 echo "CHANGES needs updating" 5 echo "CHANGES needs updating"
6 exit 1 6 exit 1
7 fi 7 fi
8 8
9 if ! head -n1 debian/changelog | grep -q $VERSION ; then 9 if ! head -n1 debian/changelog | grep -q $VERSION ; then
10 echo "CHANGES needs updating" 10 echo "debian/changelog needs updating"
11 exit 1 11 exit 1
12 fi 12 fi
13 13
14 head -n1 CHANGES 14 head -n1 CHANGES
15 15
34 rm -r "$RELDIR/autom4te.cache" || exit 2 34 rm -r "$RELDIR/autom4te.cache" || exit 2
35 35
36 (cd $RELDIR/.. && tar cjf $ARCHIVE `basename "$RELDIR"`) || exit 2 36 (cd $RELDIR/.. && tar cjf $ARCHIVE `basename "$RELDIR"`) || exit 2
37 37
38 ls -l $ARCHIVE 38 ls -l $ARCHIVE
39 openssl sha1 $ARCHIVE 39 openssl sha -sha256 $ARCHIVE
40 echo "Done to $ARCHIVE" 40 echo "Done to $ARCHIVE"