Skip to content

Commit 3e86f05

Browse files
committed
fix release trigger body
1 parent 105f108 commit 3e86f05

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/trigger.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,5 @@ jobs:
5555
git push origin ${{ github.event.release.tag_name }}
5656
5757
# Send POST reqwuest to release https://docs.github.com/en/rest/reference/repos#create-a-release
58-
bb={{ github.event.release.body }}
59-
bb=${bb//\n/\\\n}
58+
bb="For release note, please checkout https://github.com/hathach/tinyusb/releases/tag/${{ github.event.release.tag_name }}"
6059
curl -X POST -H "Authorization: token ${{ secrets.API_TOKEN_GITHUB }}" -H "Accept: application/vnd.github.v3+json" --data '{"tag_name": "${{ github.event.release.tag_name }}", "name": "${{ github.event.release.name }}", "body": "$bb", "draft": ${{ github.event.release.draft }}, "prerelease": ${{ github.event.release.prerelease }}}' https://api.github.com/repos/hathach/tinyusb_src/releases

0 commit comments

Comments
 (0)