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 130b25a5248246c52ca90ce4b9b914c7108fd19a
Author: James Daugherty <[email protected]>
AuthorDate: Fri May 30 16:26:14 2025 -0400

    [skip ci] lookup checksum by jar file name
---
 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 187d743318..f377f59224 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}' || true)
+  EXPECTED_CHECKSUM=$(grep "^${JAR_FILE} " "${CHECKSUMS_FILE}" | awk '{print 
$2}' || true)
   if [ -z "${EXPECTED_CHECKSUM}" ]; then
     echo "❌ Checksum not found for ${FILE_NAME}"
     exit 1

Reply via email to