Skip to content

Commit e3b4d3f

Browse files
authored
Merge pull request hathach#1611 from hathach/fix-release-body
try to fix release body in tinyusb_src (not tested)
2 parents 9e91b02 + 660e8f5 commit e3b4d3f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/trigger.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,6 @@ 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-
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": "${{ github.event.release.body }}", "draft": ${{ github.event.release.draft }}, "prerelease": ${{ github.event.release.prerelease }}}' https://api.github.com/repos/hathach/tinyusb_src/releases
58+
bb={{ github.event.release.body }}
59+
bb=${bb//\n/\\\n}
60+
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

docs/info/changelog.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@ Host Stack
5757
- Support app-level enumeration with new APIs
5858
- tuh_descriptor_get(), tuh_descriptor_get_device(), tuh_descriptor_get_configuration(), tuh_descriptor_get_hid_report()
5959
- tuh_descriptor_get_string(), tuh_descriptor_get_manufacturer_string(), tuh_descriptor_get_product_string(), tuh_descriptor_get_serial_string()
60-
- Also add _sync() as sync/blocking version for above APIs
61-
60+
- Also add _sync() as sync/blocking version for above APIs
6261

6362
0.13.0
6463
======

0 commit comments

Comments
 (0)