Skip to content

Commit

Permalink
Improve changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
colinhacks committed Mar 10, 2022
1 parent 91c966a commit 2169a9f
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,20 +40,22 @@ jobs:
run: |
echo "Version in package.json has not changed. Skipping."
- name: "Build Changelog"
id: build_changelog
uses: mikepenz/release-changelog-builder-action@{latest-release}
- name: Generate Changelog
uses: Bullrich/[email protected]
id: changelog
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPO: ${{ github.repository }}

- name: Publish Github Release
- name: Create Release
if: steps.publish.outputs.type != 'none'
uses: elprans/gh-action-create-release@master
id: create_release
uses: actions/create-release@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: v${{ steps.publish.outputs.version }}
release_name: v${{ steps.publish.outputs.version }}
target: ${{ github.event.push.ref }}
body: "${{ steps.build_changelog.outputs.changelog }}"
body: |
${{ steps.Changelog.outputs.changelog }}
draft: true
prerelease: false

0 comments on commit 2169a9f

Please sign in to comment.