Browse Source

add changelog for automated releases

pull/342/head
butlerx 3 years ago
parent
commit
2a3b724b98
No known key found for this signature in database GPG Key ID: B37CA765BAA89170
  1. 16
      .github/workflows/release.yml

16
.github/workflows/release.yml

@ -12,9 +12,15 @@ jobs:
- name: Checkout code
uses: actions/checkout@master
- name: Create Release
id: create_release
uses: elgohr/Github-Release-Action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: fregante/release-with-changelog@v3
with:
release: Release ${{ github.ref }}
token: ${{ secrets.NODE_GITHUB_TOKEN }}
title: "Release {tag}"
exclude: true
commit-template: '- {title} ← {hash}'
template: |
### Changelog
{commits}
{range}

Loading…
Cancel
Save