File tree Expand file tree Collapse file tree 1 file changed +15
-9
lines changed Expand file tree Collapse file tree 1 file changed +15
-9
lines changed Original file line number Diff line number Diff line change 6262 env :
6363 OUTPUT : CHANGELOG.md
6464 GITHUB_REPO : ${{ github.repository }}
65+ - name : Generate release notes
66+ uses : orhun/git-cliff-action@v4
67+ with :
68+ config : cliff.toml
69+ args : --tag ${{ github.event.inputs.version }} --verbose --unreleased
70+ env :
71+ OUTPUT : RELEASE_NOTES.md
72+ GITHUB_REPO : ${{ github.repository }}
73+ - name : Upload release notes artifact
74+ uses : actions/upload-artifact@v4
75+ with :
76+ name : release-notes
77+ path : RELEASE_NOTES.md
78+ if-no-files-found : error
6579 - name : Build to update generated files
6680 run : yarn build --target x86_64-unknown-linux-gnu --use-napi-cross
6781 - name : Commit version changes
@@ -181,20 +195,12 @@ jobs:
181195 - name : List packages
182196 run : ls -R ./npm
183197 shell : bash
184- - name : Generate release notes
185- uses : orhun/git-cliff-action@v4
186- with :
187- config : cliff.toml
188- args : --latest
189- env :
190- OUTPUT : RELEASE_NOTES.md
191- GITHUB_REPO : ${{ github.repository }}
192198 - name : Create GitHub Release
193199 uses : softprops/action-gh-release@v2
194200 with :
195201 tag_name : v${{ needs.update-version.outputs.version }}
196202 name : Release v${{ needs.update-version.outputs.version }}
197- body_path : RELEASE_NOTES.md
203+ body_path : artifacts/release-notes/ RELEASE_NOTES.md
198204 files : |
199205 artifacts/bindings-*/*.node
200206 index.js
You can’t perform that action at this time.
0 commit comments