From 9e18946198605018da9074ce5a89ed9da6b538f0 Mon Sep 17 00:00:00 2001 From: mvdkwast Date: Fri, 18 Nov 2022 20:39:04 +0100 Subject: [PATCH] chore: add changelog to release body --- .github/workflows/release.yml | 8 ++++++++ versions.json | 4 +++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0bba675..02eec59 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,6 +30,12 @@ jobs: ls echo "::set-output name=tag_name::$(git tag --sort version:refname | tail -n 1)" + - name: Changelog + uses: Bullrich/generate-release-changelog@master + id: Changelog + env: + REPO: ${{ github.repository }} + - name: Create Release id: create_release uses: actions/create-release@v1 @@ -39,6 +45,8 @@ jobs: with: tag_name: ${{ github.ref }} release_name: ${{ github.ref }} + body: | + ${{ steps.Changelog.outputs.changelog }} draft: false prerelease: false diff --git a/versions.json b/versions.json index f6bdd64..76b6ac6 100644 --- a/versions.json +++ b/versions.json @@ -1,3 +1,5 @@ { - "0.2.2": "1.0.0" + "0.2.2": "1.0.0", + "0.2.3": "1.0.0", + "0.2.4": "1.0.0" }