Skip to content

Commit

Permalink
PLacate linter
Browse files Browse the repository at this point in the history
Signed-off-by: Stewart X Addison <[email protected]>
  • Loading branch information
sxa committed May 9, 2024
1 parent 444a0cc commit f316482
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions tooling/release_download_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,13 @@ verify_gpg_signatures() {

cd "${WORKSPACE}/staging/${TAG}" || exit 1

# Note: This will run into problems if there are no tar.gz files
# e.g. if only windows has been uploaded to the release
for A in `ls -1d OpenJDK*.tar.gz OpenJDK*.zip *.msi *.pkg *sbom*[0-9].json`; do
# Note: This SC disable is because the change has been made to
# use ls instead of a straight glob to avoid problems when
# there are no files of a particular type in the release
# e.g. a point release for one platform e.g. 22.0.1.1+1

# shellcheck disable=SC2045
for A in $(ls -1d OpenJDK*.tar.gz OpenJDK*.zip ./*.msi ./*.pkg ./*sbom*[0-9].json); do
print_verbose "IVT : Verifying signature of file ${A}"

if ! gpg -q --verify "${A}.sig" "${A}" 2> /dev/null; then
Expand Down

0 comments on commit f316482

Please sign in to comment.