This commit is contained in:
parent
56d05a4e09
commit
f4875f5246
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ jobs:
|
||||||
find releases -type f | grep -q .
|
find releases -type f | grep -q .
|
||||||
|
|
||||||
HTTP_STATUS=$(curl -s -w "%{http_code}" -o release_out.json -H "Authorization: token $TOKEN" "$API/repos/$REPO/releases/tags/$TAG")
|
HTTP_STATUS=$(curl -s -w "%{http_code}" -o release_out.json -H "Authorization: token $TOKEN" "$API/repos/$REPO/releases/tags/$TAG")
|
||||||
|
|
||||||
if [ "$HTTP_STATUS" = "200" ]; then
|
if [ "$HTTP_STATUS" = "200" ]; then
|
||||||
echo "Release $TAG already exists."
|
echo "Release $TAG already exists."
|
||||||
RELEASE_ID="$(jq -r .id release_out.json)"
|
RELEASE_ID="$(jq -r .id release_out.json)"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue