Skip to content

Commit

Permalink
ops: Fix changelog generation for releases
Browse files Browse the repository at this point in the history
  • Loading branch information
jleifeld committed Dec 7, 2023
1 parent 35e08d7 commit 7005d7c
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,12 @@ jobs:
with:
token: ${{ secrets.NPM_TOKEN }}
access: "public"
- name: Build Changelog
id: github_release
uses: mikepenz/release-changelog-builder-action@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Conventional Changelog Action
id: changelog
uses: TriPSs/conventional-changelog-action@v3
with:
github-token: ${{ secrets.github_token }}
output-file: "false"
- name: Create Release
if: steps.publish.outputs.type != 'none'
id: create_release
Expand All @@ -39,6 +40,6 @@ jobs:
with:
tag_name: ${{ steps.publish.outputs.version }}
release_name: Release ${{ steps.publish.outputs.version }}
body: ${{ steps.build_changelog.outputs.changelog }}
body: ${{ steps.changelog.outputs.clean_changelog }}
draft: false
prerelease: false

0 comments on commit 7005d7c

Please sign in to comment.