File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -113,21 +113,21 @@ jobs:
113113 # Create release notes
114114 if [[ "${{ github.event_name }}" == "pull_request" ]]; then
115115 # Use PR body for release notes
116- cat > /tmp/release_notes.md << EOF
117- # # ${{ github.event.pull_request.title }}
118-
119- ${{ github.event.pull_request.body }}
120-
121- ---
122- **Version**: $VERSION | **Type**: $BUMP_TYPE
123- EOF
116+ {
117+ echo " ## ${{ github.event.pull_request.title }}"
118+ echo ""
119+ echo " ${{ github.event.pull_request.body }}"
120+ echo ""
121+ echo " ---"
122+ echo " **Version**: $VERSION | **Type**: $BUMP_TYPE"
123+ } > /tmp/release_notes.md
124124 else
125125 # Manual workflow dispatch
126- cat > /tmp/release_notes.md << EOF
127- Release $VERSION
128-
129- **Version bump**: $BUMP_TYPE
130- EOF
126+ {
127+ echo " Release $VERSION"
128+ echo ""
129+ echo " **Version bump**: $BUMP_TYPE"
130+ } > /tmp/release_notes.md
131131 fi
132132
133133 cat /tmp/release_notes.md
You can’t perform that action at this time.
0 commit comments