aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/release.yml
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2020-05-05 00:38:12 +0200
committerRené 'Necoro' Neumann <necoro@necoro.eu>2020-05-05 00:38:12 +0200
commite190f87680344fe795f8fde42e71c8d0b56c914d (patch)
tree122199a1d7e110139359fde6b418e9f790e8cafc /.github/workflows/release.yml
parentbcc9884809ac63d4a13f8044aef2920b84aea6b2 (diff)
downloadfeed2imap-go-e190f87680344fe795f8fde42e71c8d0b56c914d.tar.gz
feed2imap-go-e190f87680344fe795f8fde42e71c8d0b56c914d.tar.bz2
feed2imap-go-e190f87680344fe795f8fde42e71c8d0b56c914d.zip
Make changelog a part of the release pipeline (untested)
Diffstat (limited to '.github/workflows/release.yml')
-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 }}