From 763aab651c18f4cde981d0d94968c72dc3f192be Mon Sep 17 00:00:00 2001 From: aboyko Date: Fri, 14 Jul 2023 00:16:09 -0400 Subject: [PATCH] GH Hosted: checksum for self-extracting jar --- .github/scripts/sign-exe-in-zip-file.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/scripts/sign-exe-in-zip-file.sh b/.github/scripts/sign-exe-in-zip-file.sh index 0d5fcfff2e..b41ed0f952 100755 --- a/.github/scripts/sign-exe-in-zip-file.sh +++ b/.github/scripts/sign-exe-in-zip-file.sh @@ -22,4 +22,7 @@ filename_no_ext="${filename%.*}" echo "Creating checksums sha-256 and md5" shasum -a 256 $file > ${file}.sha256 md5 $file > ${file}.md5 +self_jar_file=${file::-4}.self-extracting.jar +shasum -a 256 $self_jar_file > ${self_jar_file}.sha256 +md5 $self_jar_file > ${self_jar_file}.md5