mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-04-28 15:59:48 +00:00
Remove the scan result for latest.json again
This commit is contained in:
parent
b942cc4b94
commit
7cb07f470f
7
.github/workflows/build-and-release.yml
vendored
7
.github/workflows/build-and-release.yml
vendored
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user