Skip to content

Commit ff3751a

Browse files
author
Toyota Yaris 2009
committed
fix: improve EOF marker handling in release notes generation
1 parent feb6837 commit ff3751a

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/build-and-release.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,13 @@ jobs:
7777
RELEASE_NOTES=$(git log --pretty=format:"* %s" $TAG_NAME)
7878
fi
7979
80-
echo "notes<<EOF" >> $GITHUB_OUTPUT
81-
echo "## Changes in $TAG_NAME" >> $GITHUB_OUTPUT
82-
echo "" >> $GITHUB_OUTPUT
83-
echo "$RELEASE_NOTES" >> $GITHUB_OUTPUT
84-
echo "EOF"
80+
{
81+
echo "notes<<EOF"
82+
echo "## Changes in $TAG_NAME"
83+
echo ""
84+
echo "$RELEASE_NOTES"
85+
echo "EOF"
86+
} >> $GITHUB_OUTPUT
8587
8688
- name: Create Release
8789
uses: softprops/action-gh-release@v1

0 commit comments

Comments
 (0)