Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,14 @@ jobs:
- run: npm install -g npm@latest
- run: npm --version
- run: npm publish
# Tag the bump commit and cut a matching GitHub Release. --generate-notes builds
# the changelog from PRs merged since the previous tag (all history on the first
# run). gh is preinstalled on ubuntu-latest; GITHUB_TOKEN needs contents: write.
- name: Create GitHub Release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
VERSION="v$(node -p "require('./package.json').version")"
git tag "$VERSION"
git push origin "$VERSION"
gh release create "$VERSION" --generate-notes
Loading