Skip to content

Commit

Permalink
chore: automate github release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
rushby committed Nov 1, 2024
1 parent f21ab4f commit 6a73791
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci-publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,13 @@ jobs:
id: publish
run: npm publish --ignore-scripts

- name: Create GitHub Release
if: ${{ steps.publish.outcome == 'success' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release create "$current_tag" -F release_notes.md -t "Release $current_tag"
- name: Send Slack Notification for Publish
if: ${{ steps.publish.outcome == 'success' }}
uses: slackapi/[email protected]
Expand Down

0 comments on commit 6a73791

Please sign in to comment.