We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2b2444f + 05ed8d2 commit 8c3df47Copy full SHA for 8c3df47
1 file changed
.github/workflows/deploy.yml
@@ -94,8 +94,10 @@ jobs:
94
id: extract
95
run: |
96
REPO="https://github.com/${{ github.repository }}"
97
- grep '^## ' pr_body.md | sed 's/^## //' > packages.txt
98
-
+
+ # Match '## ' lines with optional leading spaces
99
+ grep '^[[:space:]]*## ' pr_body.md | sed 's/^[[:space:]]*## //' > packages.txt
100
101
if [ -s packages.txt ]; then
102
while read -r line; do
103
ENCODED_TAG=$(printf "%s" "$line" | jq -sRr @uri)
@@ -104,7 +106,7 @@ jobs:
104
106
else
105
107
echo " • No packages found." > release_links.html
108
fi
109
110
{
111
echo "RELEASE_LINKS<<EOF"
112
cat release_links.html
0 commit comments