File tree Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -90,15 +90,17 @@ jobs:
90
90
run : ./populate-npm-workspace.sh
91
91
- name : Create npm workspace tarball
92
92
run : tar -vcaf npm-workspace.tar.xz -C npm .
93
+ - name : Generate release notes
94
+ run : ./generate-release-notes.sh
93
95
- name : Create GitHub release for tag
94
96
if : startsWith(github.ref, 'refs/tags/v')
95
97
uses : ncipollo/release-action@v1
96
98
with :
97
99
artifacts : npm-workspace.tar.xz
98
100
artifactContentType : application/x-xz
99
- bodyFile : versions.properties
101
+ bodyFile : release-notes.md
100
102
prerelease : ${{ contains(github.ref, '-rc') }}
101
103
makeLatest : ${{ !contains(github.ref, '-rc') }}
102
104
- name : Publish npm packages
103
105
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 8
8
! npm /* /package.json
9
9
! npm /dev-wasm32 /THIRD-PARTY-NOTICES.md
10
10
npm /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