We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68907da commit 873342bCopy full SHA for 873342b
.github/workflows/ci.yml
@@ -300,13 +300,17 @@ jobs:
300
name: "Latest master"
301
files: rescript-vscode-latest-master.vsix
302
303
+ - name: Generate release notes from changelog
304
+ if: startsWith(github.ref, 'refs/tags/')
305
+ run: sed -e "/^## ${{ steps.tag_name.outputs.tag }}/,/^## / ! d" CHANGELOG.md | head -n -2 > RELEASE.md
306
+
307
- name: Publish release version to GitHub
308
if: startsWith(github.ref, 'refs/tags/')
309
uses: softprops/action-gh-release@v2
310
with:
311
token: "${{ secrets.GITHUB_TOKEN }}"
312
prerelease: false
- generate_release_notes: true
313
+ body_path: RELEASE.md
314
name: ${{ steps.tag_name.outputs.tag }}
315
files: rescript-vscode-${{ steps.tag_name.outputs.tag }}.vsix
316
0 commit comments