Skip to content

Commit d99377d

Browse files
committed
Update release.yml
1 parent 855a825 commit d99377d

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,12 @@ jobs:
2424
run: |
2525
export PATH=${PATH}:`go env GOPATH`/bin
2626
export RELEASE_ID=$(curl --fail-with-body -L \
27-
-X POST \
28-
-H "Accept: application/vnd.github+json" \
2927
-H "Authorization: Bearer ${GITHUB_TOKEN}" \
30-
-H "X-GitHub-Api-Version: 2022-11-28" \
3128
https://api.github.com/repos/deployphp/deployer/releases \
3229
| fx ".find(x=> x.tag_name == 'v${RELEASE_VERSION}').id")
3330
curl --fail-with-body -L \
3431
-X POST \
35-
-H "Accept: application/vnd.github+json" \
3632
-H "Authorization: Bearer ${GITHUB_TOKEN}" \
37-
-H "X-GitHub-Api-Version: 2022-11-28" \
3833
-H "Content-Type: application/octet-stream" \
3934
"https://uploads.github.com/repos/deployphp/deployer/releases/${RELEASE_ID}/assets?name=deployer.phar" \
4035
--data-binary "@deployer.phar"

0 commit comments

Comments
 (0)