Skip to content

Commit

Permalink
chore: fix workflows (#1081)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlmoravek authored Oct 25, 2024
1 parent f7c9953 commit 92d68c1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish-pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Generate new pre-release
on:
push:
tags:
- 'v[0-9].[0-9]+.[0-9]+-?**'
- 'v[0-9]+.[0-9]+.[0-9]+-?**'
jobs:
release:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -30,8 +30,9 @@ jobs:
run: npm run publish:examples:pre
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Generate Release Body 📋
- name: Install release dependency 📦
run: npm i extract-changelog-release
- name: Generate Release Body 📋
run: npx extract-changelog-release > RELEASE_BODY.md
uses: ncipollo/release-action@v1
with:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ jobs:
run: npm run publish:examples
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Generate Release Body 📋
- name: Install release dependency 📦
run: npm i extract-changelog-release
- name: Generate Release Body 📋
run: npx extract-changelog-release > RELEASE_BODY.md
uses: ncipollo/release-action@v1
with:
Expand Down

0 comments on commit 92d68c1

Please sign in to comment.