Skip to content

Commit

Permalink
Merge pull request #11 from lesteenman/release-flow
Browse files Browse the repository at this point in the history
Use the text of the merge commit as a changelog
  • Loading branch information
lesteenman authored Mar 6, 2021
2 parents 8387b85 + 0d05c1c commit fc945ef
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,8 @@ jobs:
name: error-parser-package

- name: Build Changelog
id: github_release
uses: mikepenz/release-changelog-builder-action@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
id: changes
run: echo "::set-output name=changeLog::$(git show --format=%B | tail +3)"

- name: Get the date of the release
id: release_date
Expand All @@ -138,6 +136,6 @@ jobs:
with:
commitish: ${{ github.sha }}
release_name: ${{ steps.release_name.outputs.date }} ${GITHUB_SHA::7}
body: ${{steps.github_release.outputs.changelog}}
body: ${{steps.changes.outputs.changelog}}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit fc945ef

Please sign in to comment.