comparison release.sh @ 1645:0276c0f8c2b8

use "openssl sha256"
author Matt Johnston <matt@ucc.asn.au>
date Sat, 23 Mar 2019 21:45:00 +0800
parents d10468395a49
children 90fffce0ee99
comparison
equal deleted inserted replaced
1644:b3196c46f780 1645:0276c0f8c2b8
36 rm "$RELDIR/.hgtags" 36 rm "$RELDIR/.hgtags"
37 37
38 (cd "$RELDIR/.." && tar cjf $ARCHIVE `basename "$RELDIR"`) || exit 2 38 (cd "$RELDIR/.." && tar cjf $ARCHIVE `basename "$RELDIR"`) || exit 2
39 39
40 ls -l $ARCHIVE 40 ls -l $ARCHIVE
41 openssl sha -sha256 $ARCHIVE 41 openssl sha256 $ARCHIVE
42 echo Done to 42 echo Done to
43 echo "$ARCHIVE" 43 echo "$ARCHIVE"
44 echo Sign it with 44 echo Sign it with
45 echo gpg2 --detach-sign -a -u F29C6773 "$ARCHIVE" 45 echo gpg2 --detach-sign -a -u F29C6773 "$ARCHIVE"