Skip to content

Commit

Permalink
feat: add changelog to the Github release
Browse files Browse the repository at this point in the history
  • Loading branch information
gligneul committed Sep 19, 2023
1 parent 990bc85 commit 5a7c4a7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,13 @@ jobs:
runs-on: ubuntu-22.04
if: startsWith(github.ref, 'refs/tags/v')
steps:
- uses: actions/checkout@v3
with:
submodules: recursive

- name: Trim CHANGELOG.md
run: sed -e '0,/^##[^#]/d' -e '/^##[^#]/,$d' -i CHANGELOG.md

- name: Download GraphQL schema
uses: actions/download-artifact@v3
with:
Expand All @@ -141,4 +148,5 @@ jobs:
uses: softprops/action-gh-release@v1
with:
prerelease: true
body_path: CHANGELOG.md
files: schema.graphql

0 comments on commit 5a7c4a7

Please sign in to comment.