diff options
| author | hathach <[email protected]> | 2023-02-13 12:03:04 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-02-13 12:03:09 +0700 |
| commit | 3e86f0532aae522513b5a5acdce71438dcca14fb (patch) | |
| tree | 175e11d3e7cff3d1c75c0202b06f22886ff1f1bb /.github/workflows | |
| parent | 105f108661b894b3a3bc9fe2e173556099bbd745 (diff) | |
fix release trigger body
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/trigger.yml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/.github/workflows/trigger.yml b/.github/workflows/trigger.yml index e434ca238..11e58d86c 100644 --- a/.github/workflows/trigger.yml +++ b/.github/workflows/trigger.yml @@ -55,6 +55,5 @@ jobs: git push origin ${{ github.event.release.tag_name }} # Send POST reqwuest to release https://docs.github.com/en/rest/reference/repos#create-a-release - bb={{ github.event.release.body }} - bb=${bb//\n/\\\n} + bb="For release note, please checkout https://github.com/hathach/tinyusb/releases/tag/${{ github.event.release.tag_name }}" 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 |
