You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by re...@apache.org on 2018/07/25 10:44:15 UTC
svn commit: r28343 - /dev/jackrabbit/create-download-md.sh
Author: reschke
Date: Wed Jul 25 10:44:15 2018
New Revision: 28343
Log:
JCR-4341: SHA1 and SHA512 hashes should be links to sig files on dist site
Modified:
dev/jackrabbit/create-download-md.sh
Modified: dev/jackrabbit/create-download-md.sh
==============================================================================
--- dev/jackrabbit/create-download-md.sh (original)
+++ dev/jackrabbit/create-download-md.sh Wed Jul 25 10:44:15 2018
@@ -29,15 +29,7 @@ dl2="https://www.apache.org/dist/jackrab
function dumpone {
printf "\n* [%s]($dl1/%s)\n" "$1" "$1"
size=$(du -m $version/"$1" | cut -f 1)
- printf " (%dM, %s, [PGP signature]($dl2/%s.asc))\n" $size "$2" "$1"
- if [ -r $version/"$1".sha1 ] ; then
- sha1=$(cat $version/"$1".sha1 | tr -d "\r\n")
- printf " <br/>SHA1 checksum: \`%s\`\n" "$sha1"
- fi
- if [ -r $version/"$1".sha512 ] ; then
- sha512=$(cat $version/"$1".sha512 | tr -d "\r\n")
- printf " <br/>SHA512 checksum: \`%s\`\n" "$sha512"
- fi
+ printf " (%dM, %s, [pgp]($dl2/%s.asc), [sha1]($dl2/%s.sha1), [sha512]($dl2/%s.sha512))\n" $size "$2" "$1" "$1" "$1"
}
function usage {