mirror of
https://github.com/samba-team/samba.git
synced 2025-01-03 01:18:10 +03:00
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 <metze@samba.org> Signed-off-by: Karolin Seeger <kseeger@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
6968ee4b3a
commit
d87077afb4
@ -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}" || {
|
||||
|
Loading…
Reference in New Issue
Block a user