Skip to content

Commit

Permalink
chore: update changelog.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Jan 6, 2021
1 parent f808627 commit a348f92
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Create Tag
id: create_tag
uses: jaywcjlove/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
# test: '[R|r]elease[d]\s+[v|V]\d(\.\d+){0,2}'
package-path: ./package.json

- name: Generate changelog
id: changelog
uses: jaywcjlove/changelog-generator@main
Expand All @@ -29,7 +37,8 @@ jobs:
- name: Create Release
id: create_release
uses: actions/create-release@latest
if: startsWith(github.ref, 'refs/tags/')
# if: startsWith(github.ref, 'refs/tags/')
if: steps.create_tag.outputs.successful
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down

0 comments on commit a348f92

Please sign in to comment.