Skip to content

Commit

Permalink
chore: add auto changelog on github release
Browse files Browse the repository at this point in the history
  • Loading branch information
wxsms committed Oct 6, 2020
1 parent f324449 commit ef080b7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ jobs:
- run: yarn --frozen-lockfile
- name: Build dist
run: npm run dist
- name: Changelog
uses: scottbrenner/generate-changelog-action@master
id: Changelog
env:
REPO: ${{ github.repository }}
- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand All @@ -38,7 +43,8 @@ jobs:
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: WIP
body: |
${{ steps.Changelog.outputs.changelog }}
draft: false
prerelease: false
- name: Upload Release Asset
Expand Down

0 comments on commit ef080b7

Please sign in to comment.