summaryrefslogtreecommitdiff
path: root/.github/workflows/trigger.yml
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2023-03-17 19:27:47 +0700
committerGitHub <[email protected]>2023-03-17 19:27:47 +0700
commit4d273254b6a9ce8f65dcadb637b2e2b59415a21e (patch)
tree46c80d419889884f13baf8467edb5d363b68b295 /.github/workflows/trigger.yml
parent16daad81643279ffc951ba11a531877dfee8c872 (diff)
parent6683053f4827b682f51c56ed664e440c0286de80 (diff)
Merge pull request #1961 from hathach/remove-all-submodules
Remove all submodules
Diffstat (limited to '.github/workflows/trigger.yml')
-rw-r--r--.github/workflows/trigger.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/trigger.yml b/.github/workflows/trigger.yml
index 11e58d86c..86c699dac 100644
--- a/.github/workflows/trigger.yml
+++ b/.github/workflows/trigger.yml
@@ -43,7 +43,7 @@ jobs:
if [ -n "$(git status --porcelain)" ]; then
git add .
git commit --message "Update from https://github.com/$GITHUB_REPOSITORY/commit/$GITHUB_SHA"
- git push
+ git push
fi
- name: Create tinyusb_src Release
@@ -53,7 +53,7 @@ jobs:
cd tinyusb_src
git tag ${{ github.event.release.tag_name }}
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="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