Skip to content

Commit 3fd305c

Browse files
committed
Add changelog notes to draft release
1 parent 85f2e89 commit 3fd305c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/release.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,9 @@ jobs:
106106
if: ${{ matrix.vscode_arch == 'x64' }}
107107
- run: tar -czf package.tar.gz release
108108
if: ${{ matrix.vscode_arch == 'x64' }}
109+
- run: |
110+
sed "/^## Unreleased/,/^## / ! d" CHANGELOG.md | head -n -2 | tail -n +3 > .cache/release-notes
111+
if: ${{ matrix.vscode_arch == 'x64' }}
109112
- uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v1
110113
if: ${{ matrix.vscode_arch == 'x64' }}
111114
with:
@@ -114,6 +117,7 @@ jobs:
114117
files: package.tar.gz
115118
tag_name: v${{ env.VERSION }}
116119
name: v${{ env.VERSION }}
120+
body: .cache/release-notes
117121

118122
# Platform-specific release.
119123
- run: KEEP_MODULES=1 npm run release

0 commit comments

Comments
 (0)