Skip to content

Commit 29c79e8

Browse files
committed
fix ci/cd
1 parent 9821ab8 commit 29c79e8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ jobs:
7373
target_commitish: process.env.DEFAULT_BRANCH,
7474
});
7575
76-
# SyntaxError: Unexpected identifier 'JSON'
77-
# echo JSON.stringify(notes)
78-
console.log(notes);
76+
const body = notes.body;
77+
78+
require('fs').writeFileSync('release_notes.md', body);
7979
8080
- name: Build
8181
working-directory: ./WinSyncScroll
@@ -91,8 +91,8 @@ jobs:
9191
with:
9292
prerelease: ${{ steps.ref_info.outputs.IS_PRERELEASE }}
9393
make_latest: ${{ steps.ref_info.outputs.MAKE_LATEST }}
94-
#body_path: release_notes.md
95-
generate_release_notes: true
94+
body_path: release_notes.md
95+
#generate_release_notes: true
9696
files: |
9797
./WinSyncScroll/WinSyncScroll_win-x64_net8.0-windows.zip
9898
./WinSyncScroll/WinSyncScroll_win-x64_net462.zip

0 commit comments

Comments
 (0)