Skip to content

Commit

Permalink
Vanishing_commit
Browse files Browse the repository at this point in the history
  • Loading branch information
sxa committed Feb 20, 2024
1 parent 6699c54 commit d6d4cb9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions tooling/release_download_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -156,13 +156,13 @@ download_release_files() {

# Parse the releases list for the one we want and download everything in it
# shellcheck disable=SC2013
echo $(date +%T) : Starting downloads ...
grep "${filter}" "${jdk_releases}" | awk -F'"' '/browser_download_url/{print$4}' | while read url; do
echo "$(date +%T) : Starting downloads ..."
grep "${filter}" "${jdk_releases}" | awk -F'"' '/browser_download_url/{print$4}' | while read -r url; do
# shellcheck disable=SC2046
print_verbose "IVT : Downloading $(basename "$url")"
curl -LORsS -C - "$url"
done
echo $(date +%T) : Finished downloads ...
echo "$(date +%T) : Finished downloads ..."
}

########################################################################################################################
Expand Down
2 changes: 1 addition & 1 deletion tooling/validateSBOMcontent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ GITREPO=$(echo "$GITSHA" | cut -d/ -f1-5)
GITSHA=$(echo "$GITSHA" | cut -d/ -f7)
echo "Checking for temurin-build SHA $GITSHA in ${GITREPO}"

if ! git ls-remote "${GITREPO}" | grep "2D${GITSHA}" ]; then
if ! git ls-remote "${GITREPO}" | grep "${GITSHA}"; then
echo "WARNING: temurin-build SHA check failed. This can happen if it was not a tagged level"
if echo "$1" | grep '[0-9][0-9]-[0-9][0-9]-[0-9][0-9]-[0-9][0-9]' 2>/dev/null; then
echo "Ignoring return code as filename looks like a nightly"
Expand Down

0 comments on commit d6d4cb9

Please sign in to comment.