File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -106,11 +106,14 @@ jobs:
106106 console.log(`releaseNotes (modified): ${JSON.stringify(modifiedBody, null, 2)}`);
107107 core.setOutput("release_body", modifiedBody);
108108
109+ - name : Write release notes to file
110+ run : |
111+ echo "${{ steps.generate-release-notes.outputs.release_body }}" > release-notes.txt
109112 - name : Create Draft Release
110113 run : |
111114 gh release create "${{ steps.calculate-version.outputs.new_version }}" \
112115 --title "${{ steps.calculate-version.outputs.new_version }} ${{ github.event.inputs.release_title }}" \
113- --notes "${{ steps.generate- release-notes.outputs.release_body }}" \
116+ --notes-file release-notes.txt \
114117 --draft \
115118 --repo "${{ github.repository }}"
116119 env :
You can’t perform that action at this time.
0 commit comments