mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-07-29 02:42:57 +00:00
Improved parsing filename & link for scan results
This commit is contained in:
parent
1d15c483c3
commit
f484d02de4
6
.github/workflows/build-and-release.yml
vendored
6
.github/workflows/build-and-release.yml
vendored
@ -808,9 +808,9 @@ jobs:
|
|||||||
|
|
||||||
# Append each file and link to the changelog:
|
# Append each file and link to the changelog:
|
||||||
for item in "${analysis_array[@]}"; do
|
for item in "${analysis_array[@]}"; do
|
||||||
filename=$(echo $item | cut -d'=' -f1)
|
filename=$(echo $item | cut -d'=' -f1 | xargs)
|
||||||
link=$(echo $item | cut -d'=' -f2)
|
link=$(echo $item | cut -d'=' -f2 | xargs)
|
||||||
changelog="$changelog\n- [$(basename $filename)]($link)"
|
changelog="$changelog\n- [$(basename "$filename")]($link)"
|
||||||
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