Skip to content

Commit

Permalink
Merge pull request #429 from Morganov/feature/generate-changelog
Browse files Browse the repository at this point in the history
Fix release process with changelog
  • Loading branch information
Morganov authored Jul 3, 2021
2 parents 819ccc1 + afaa6ff commit 55641c9
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@ jobs:
echo "New tag name: 2.1.${PATCH}"
echo "::set-output name=tagname::2.1.${PATCH}"
- name: Generate change log
id: release-changelog
uses: mikepenz/release-changelog-builder-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
Expand All @@ -45,4 +39,18 @@ jobs:
tag: ${{ steps.compute-tag.outputs.tagname }}
commit: master
artifacts: './progit.epub,./progit.mobi,./progit.pdf,./progit.html'

- name: Generate Changelog
id: release-changelog
uses: mikepenz/release-changelog-builder-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Set changelog to the release
uses: ncipollo/release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ steps.compute-tag.outputs.tagname }}
commit: master
allowUpdates: true
body: ${{ steps.release-changelog.outputs.changelog }}

0 comments on commit 55641c9

Please sign in to comment.