Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/create_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,19 @@ jobs:
for file in "${files[@]}"; do
filename=$(basename "$file" .md)
content=$(cat "$file")
# Ident by two spaces every new line
content=$(echo -e "$content" | awk 'NR==1{print $0; next} {print " " $0}')
VERSION_TEXT+="- [${filename}](https://github.com/FuelLabs/fuel-vm/pull/${filename}): ${content}\n"
done
fi
fi
done
#Escape backquotes
VERSION_TEXT=$(echo "$VERSION_TEXT" | sed 's/`/\\`/g')
echo -e "$VERSION_TEXT"
{
echo 'VERSION_TEXT<<EOF'
echo -e ${VERSION_TEXT}
echo -e "${VERSION_TEXT}"
echo EOF
} >> "$GITHUB_OUTPUT"
- name: Update PR description with the version and changes
Expand Down