Skip to content

Commit

Permalink
Revert "CI: Reuse changelog entries for release notes"
Browse files Browse the repository at this point in the history
This reverts commit 873342b.
  • Loading branch information
fhammerschmidt authored and cristianoc committed Jul 9, 2024
1 parent 841b3b3 commit b6abf10
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -300,17 +300,13 @@ jobs:
name: "Latest master"
files: rescript-vscode-latest-master.vsix

- name: Generate release notes from changelog
if: startsWith(github.ref, 'refs/tags/')
run: sed -e "/^## ${{ steps.tag_name.outputs.tag }}/,/^## / ! d" CHANGELOG.md | head -n -2 > RELEASE.md

- name: Publish release version to GitHub
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v2
with:
token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
body_path: RELEASE.md
generate_release_notes: true
name: ${{ steps.tag_name.outputs.tag }}
files: rescript-vscode-${{ steps.tag_name.outputs.tag }}.vsix

Expand Down

0 comments on commit b6abf10

Please sign in to comment.