File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -90,15 +90,17 @@ jobs:
9090 run : ./populate-npm-workspace.sh
9191 - name : Create npm workspace tarball
9292 run : tar -vcaf npm-workspace.tar.xz -C npm .
93+ - name : Generate release notes
94+ run : ./generate-release-notes.sh
9395 - name : Create GitHub release for tag
9496 if : startsWith(github.ref, 'refs/tags/v')
9597 uses : ncipollo/release-action@v1
9698 with :
9799 artifacts : npm-workspace.tar.xz
98100 artifactContentType : application/x-xz
99- bodyFile : versions.properties
101+ bodyFile : release-notes.md
100102 prerelease : ${{ contains(github.ref, '-rc') }}
101103 makeLatest : ${{ !contains(github.ref, '-rc') }}
102104 - name : Publish npm packages
103105 if : startsWith(github.ref, 'refs/tags/v')
104- run : cd npm && npm publish --workspaces --tag=${{ contains(github.ref, '-rc') && 'next' || 'latest' }} --dry-run
106+ run : cd npm && npm publish --workspaces --tag=${{ contains(github.ref, '-rc') && 'next' || 'latest' }}
Original file line number Diff line number Diff line change 88! npm /* /package.json
99! npm /dev-wasm32 /THIRD-PARTY-NOTICES.md
1010npm /img-sharp-libvips- * .tgz
11+ release-notes.md
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ set -e
3+
4+ {
5+ echo ' Dependency|Version' ;
6+ echo ' ---|---' ;
7+ sed ' s/=/|/' versions.properties | sed ' s/^VERSION_//' | tr ' A-Z_' ' a-z-' ;
8+ } > release-notes.md
You can’t perform that action at this time.
0 commit comments