File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -24,17 +24,12 @@ jobs:
24
24
run : |
25
25
export PATH=${PATH}:`go env GOPATH`/bin
26
26
export RELEASE_ID=$(curl --fail-with-body -L \
27
- -X POST \
28
- -H "Accept: application/vnd.github+json" \
29
27
-H "Authorization: Bearer ${GITHUB_TOKEN}" \
30
- -H "X-GitHub-Api-Version: 2022-11-28" \
31
28
https://api.github.com/repos/deployphp/deployer/releases \
32
29
| fx ".find(x=> x.tag_name == 'v${RELEASE_VERSION}').id")
33
30
curl --fail-with-body -L \
34
31
-X POST \
35
- -H "Accept: application/vnd.github+json" \
36
32
-H "Authorization: Bearer ${GITHUB_TOKEN}" \
37
- -H "X-GitHub-Api-Version: 2022-11-28" \
38
33
-H "Content-Type: application/octet-stream" \
39
34
"https://uploads.github.com/repos/deployphp/deployer/releases/${RELEASE_ID}/assets?name=deployer.phar" \
40
35
--data-binary "@deployer.phar"
You can’t perform that action at this time.
0 commit comments