Skip to content

Commit 8677932

Browse files
added changelog with different template
1 parent 8428e1e commit 8677932

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/publish-package-to-npmjs.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,20 @@ jobs:
7272
needs: [incrementVersionNumber, build]
7373
runs-on: ubuntu-latest
7474
steps:
75+
- name: Build Changelog
76+
id: github_release_changelog
77+
uses: mikepenz/release-changelog-builder-action@v4
78+
with:
79+
toTag: v${{ needs.incrementVersionNumber.outputs.new_version }}
80+
configurationJson: |
81+
{
82+
"pr_template": " - #{{TITLE}} - ( PR: ##{{NUMBER}} )"
83+
}
7584
- name: Create Release Notes
7685
uses: softprops/action-gh-release@v2
7786
with:
7887
name: v${{ needs.incrementVersionNumber.outputs.new_version }}
88+
body: ${{ steps.github_release_changelog.outputs.changelog }}
7989
draft: true
8090
publish-package:
8191
if: inputs.publish_to_npm

0 commit comments

Comments
 (0)