aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/release.yml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.github/workflows/release.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 2c06d11..d95e437 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -20,9 +20,20 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
+ - name: Get Changelog Entry
+ id: changelog_reader
+ uses: mindsers/changelog-reader-action@v1.1.0
+ with:
+ version: ${{ github.ref }}
+ path: ./CHANGELOG.md
+
+ - name: Safe Changelog Text
+ run: echo "${{ steps.changelog_reader.outputs.log_entry }}" >> changelog_entry
+
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v1
with:
version: latest
+ args: --release-notes changelog_entry
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}