From d99377d71ebbc39a586b39486c5a92ef6d3b7074 Mon Sep 17 00:00:00 2001 From: Anton Medvedev Date: Wed, 5 Apr 2023 11:22:42 +0200 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9101c98aa..b3412a57c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,17 +24,12 @@ jobs: run: | export PATH=${PATH}:`go env GOPATH`/bin export RELEASE_ID=$(curl --fail-with-body -L \ - -X POST \ - -H "Accept: application/vnd.github+json" \ -H "Authorization: Bearer ${GITHUB_TOKEN}" \ - -H "X-GitHub-Api-Version: 2022-11-28" \ https://api.github.com/repos/deployphp/deployer/releases \ | fx ".find(x=> x.tag_name == 'v${RELEASE_VERSION}').id") curl --fail-with-body -L \ -X POST \ - -H "Accept: application/vnd.github+json" \ -H "Authorization: Bearer ${GITHUB_TOKEN}" \ - -H "X-GitHub-Api-Version: 2022-11-28" \ -H "Content-Type: application/octet-stream" \ "https://uploads.github.com/repos/deployphp/deployer/releases/${RELEASE_ID}/assets?name=deployer.phar" \ --data-binary "@deployer.phar"