Fix SHA-1 update script to work with the current release.md

Change the regex used to find the lines to update to actually find them.
This commit is contained in:
Vadim Zeitlin 2018-12-09 16:52:40 +01:00
parent 2b612603d3
commit b8f791877e

View File

@ -6,7 +6,7 @@ set -e
topdir=`dirname $0`/../..
# Build the file list for sha1sums, from `docs/release.md`
declare -a files=(`sed -n '/^## Download Verification/,/^## Binaries/p' $topdir/docs/release.md | sed -n -E 's/^\s*0{40}\s{2}(wx.*)/\1/p'`)
declare -a files=(`sed -n '/^To verify your download/,/^## Binaries/p' $topdir/docs/release.md | sed -n -E 's/^\s*0{40}\s{2}(wx.*)/\1/p'`)
if [ -z "$files" ]; then
echo "No lines with SHA-1 sums, has release.md format changed?" >&2