This commit is contained in:
1 file changed
+1
-1
@@ -50,7 +50,7 @@ jobs:
|
|||||||
RELEASE_RESPONSE=$(curl -s -X POST \
|
RELEASE_RESPONSE=$(curl -s -X POST \
|
||||||
-H "Authorization: token $TOKEN" \
|
-H "Authorization: token $TOKEN" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d "{\"tag_name\": \"$TAG\", \"name\": \"$TAG\", \"body\": \"OmniNX Installer Payload $TAG\"}" \
|
-d "{\"tag_name\": \"$TAG\", \"name\": \"Release $TAG\", \"body\": \"OmniNX Installer Payload $TAG\"}" \
|
||||||
"$API_BASE/repos/$REPOSITORY/releases")
|
"$API_BASE/repos/$REPOSITORY/releases")
|
||||||
|
|
||||||
RELEASE_ID=$(echo "$RELEASE_RESPONSE" | grep -o '"id":[0-9]*' | head -1 | cut -d':' -f2)
|
RELEASE_ID=$(echo "$RELEASE_RESPONSE" | grep -o '"id":[0-9]*' | head -1 | cut -d':' -f2)
|
||||||
|
|||||||
Reference in new issue
Block a user