Remove the scan result for latest.json again

This commit is contained in:
Thorsten Sommer 2024-06-22 20:38:21 +02:00
parent b942cc4b94
commit 7cb07f470f
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -817,8 +817,11 @@ jobs:
filename="${item%%=*}" filename="${item%%=*}"
filename=$(echo $filename | xargs) filename=$(echo $filename | xargs)
# Extract the base name of the file
base_filename=$(basename "$filename")
# Ignore the latest.json file: # Ignore the latest.json file:
if [[ "$filename" == "latest.json" ]]; then if [[ "$base_filename" == "latest.json" ]]; then
continue continue
fi fi
@ -827,7 +830,7 @@ jobs:
link=$(echo $link | xargs) link=$(echo $link | xargs)
# Append this scan result to the changelog: # Append this scan result to the changelog:
echo "- [$(basename "$filename")]($link)" >> $temp_changelog echo "- [$base_filename]($link)" >> $temp_changelog
done done
# Export the modified changelog (using HEREDOC syntax for multi-line support): # Export the modified changelog (using HEREDOC syntax for multi-line support):