Skip to content

Commit 022f69d

Browse files
committed
fix: improve formatting of pull request title for pkg-fetch version bump
1 parent 7450d31 commit 022f69d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/bump-fetch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
awk -F. '{major[$1]=$0} END {for (m in major) print major[m]}' | \
6262
sort -t. -k1,1n)
6363
64-
TITLE_VERSIONS=$(echo "$LATEST_PER_MAJOR" | paste -sd ', ')
64+
TITLE_VERSIONS=$(echo "$LATEST_PER_MAJOR" | tr '\n' ',' | sed 's/,$//' | sed 's/,/, /g')
6565
6666
echo "pr_title=feat: bump fetch $VERSION with nodejs $TITLE_VERSIONS" >> $GITHUB_OUTPUT
6767
{

0 commit comments

Comments
 (0)