Skip to content

Commit c9d6445

Browse files
committed
ci: fixup github-api@gh-update-commitish
Improper escaped quotes Signed-off-by: Jorge Marques <[email protected]>
1 parent ba688ae commit c9d6445

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105
gh-update-commitish ${{ secrets.GITHUB_TOKEN }} \
106106
${{ github.repository }} \
107107
${{ github.sha }} \
108-
$pre_release_id || true
108+
$pre_release_id
109109
110110
- name: GitHub upload pre-release asset
111111
run: |

ci/github-api.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ gh-update-commitish()
8181
-H "Accept: application/vnd.github+json" \
8282
-H "Authorization: Bearer $1" \
8383
-H "X-GitHub-Api-Version: 2022-11-28" \
84-
-d '{"target_commitish": "$3"}' \
84+
-d "{\"target_commitish": \"$3\"}" \
8585
"https://api.github.com/repos/$2/releases/$4"
8686
}
8787

0 commit comments

Comments
 (0)