From d87077afb41e3602443bbd79b1466f35e087e457 Mon Sep 17 00:00:00 2001 From: Karolin Seeger Date: Wed, 27 Jan 2016 12:29:44 +0100 Subject: [PATCH] script/release.sh: improve error messages if the tag verification fails This makes it more obvious if a gpg key is expired. Pair-Programmed-With: Stefan Metzmacher Signed-off-by: Karolin Seeger Signed-off-by: Stefan Metzmacher --- script/release.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/script/release.sh b/script/release.sh index e5d93a7d90a..bd225f8adcf 100755 --- a/script/release.sh +++ b/script/release.sh @@ -216,6 +216,8 @@ verify_samba_stable() { git tag -v "${oldtagname}" >${verify_out} 2>&1 || { echo "failed to verify old tag[${oldtagname}]" + echo "" + cat "${verify_out}" return 1 } @@ -411,7 +413,9 @@ check_nopatch() { echo "Verifying tagname: ${tagname}" git tag -v "${tagname}" >${verify_out} 2>&1 || { - echo "failed to verify old tag[${oldtagname}]" + echo "failed to verify tag[${tagname}]" + echo "" + cat "${verify_out}" return 1 } grep -q "${GPG_KEYID}" "${verify_out}" || { @@ -460,7 +464,9 @@ check_samba_stable() { echo "Verifying tagname: ${tagname}" git tag -v "${tagname}" >${verify_out} 2>&1 || { - echo "failed to verify old tag[${oldtagname}]" + echo "failed to verify tag[${tagname}]" + echo "" + cat "${verify_out}" return 1 } grep -q "${GPG_KEYID}" "${verify_out}" || {