From 5a7c4a77032281dfab103e724b065b94b937118c Mon Sep 17 00:00:00 2001 From: Gabriel de Quadros Ligneul <8294320+gligneul@users.noreply.github.com> Date: Tue, 19 Sep 2023 17:35:22 -0300 Subject: [PATCH] feat: add changelog to the Github release --- .github/workflows/build.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f37b264d3..8a5bd075d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: @@ -141,4 +148,5 @@ jobs: uses: softprops/action-gh-release@v1 with: prerelease: true + body_path: CHANGELOG.md files: schema.graphql