We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 02eea46 + 5c942b6 commit b105c20Copy full SHA for b105c20
.github/workflows/ci.yml
@@ -300,13 +300,18 @@ 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: |
306
+ sed -e "/^## ${{ steps.tag_name.outputs.tag }}/,/^## / ! d" CHANGELOG.md | head -n -2 > RELEASE.md
307
+
308
- name: Publish release version to GitHub
309
if: startsWith(github.ref, 'refs/tags/')
310
uses: softprops/action-gh-release@v2
311
with:
312
token: "${{ secrets.GITHUB_TOKEN }}"
313
prerelease: false
- generate_release_notes: true
314
+ body_path: RELEASE.md
315
name: ${{ steps.tag_name.outputs.tag }}
316
files: rescript-vscode-${{ steps.tag_name.outputs.tag }}.vsix
317
0 commit comments