aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/release.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/release.sh b/tools/release.sh
index 5511f10..c1f7f7c 100755
--- a/tools/release.sh
+++ b/tools/release.sh
@@ -262,7 +262,14 @@ do_stage() {
echo "Staging package archives:"
mkdir -p archives
for EXT in tar.gz tar.bz2 zip; do
- mv -v "${PACKAGE_RELEASE}.${EXT}" archives/
+ local FILE="${PACKAGE_RELEASE}.${EXT}"
+ # create archive signatures
+ for HASH in md5 sha1; do
+ echo "sign: ${FILE}.${HASH}"
+ ${HASH}sum "${FILE}" > "archives/${FILE}.${HASH}"
+ done
+ # save archive
+ mv -v "${FILE}" archives/
done
cp -a NEWS archives/
cp -a ChangeLog archives/