Skip to content

Commit b089750

Browse files
authored
Fix release majorversion (#8)
* first version with release * fix
1 parent 90aeb48 commit b089750

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

.github/workflows/release.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)