You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by jd...@apache.org on 2025/05/30 21:00:15 UTC
(grails-core) 04/14: [skip ci] fix checksum comparison
This is an automated email from the ASF dual-hosted git repository.
jdaugherty pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git
commit 2220094dbb35e819c585c5fc13db2a72c60edca4
Author: James Daugherty <jd...@jdresources.net>
AuthorDate: Fri May 30 16:23:24 2025 -0400
[skip ci] fix checksum comparison
---
etc/bin/verify-jar-artifacts.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/etc/bin/verify-jar-artifacts.sh b/etc/bin/verify-jar-artifacts.sh
index 36bee1d1bb..187d743318 100755
--- a/etc/bin/verify-jar-artifacts.sh
+++ b/etc/bin/verify-jar-artifacts.sh
@@ -97,7 +97,7 @@ while IFS= read -r line; do
gpg --homedir "${GRAILS_GPG_HOME}" --verify "${FILE_NAME}.asc" "${FILE_NAME}"
echo "✅ Verified GPG signature for ${FILE_NAME}"
- EXPECTED_CHECKSUM=$(grep "^${FILE_NAME} " "${CHECKSUMS_FILE}" | awk '{print $2}')
+ EXPECTED_CHECKSUM=$(grep "^${FILE_NAME} " "${CHECKSUMS_FILE}" | awk '{print $2}' || true)
if [ -z "${EXPECTED_CHECKSUM}" ]; then
echo "❌ Checksum not found for ${FILE_NAME}"
exit 1