This commit is contained in:
@@ -49,8 +49,8 @@ jobs:
|
||||
;;
|
||||
*-testing*)
|
||||
CHANNEL="testing"
|
||||
DRAFT="true"
|
||||
PRERELEASE="false"
|
||||
DRAFT="false"
|
||||
PRERELEASE="true"
|
||||
;;
|
||||
*)
|
||||
CHANNEL="stable"
|
||||
@@ -177,12 +177,6 @@ jobs:
|
||||
--argjson prerelease "${{ steps.releaseinfo.outputs.prerelease }}" \
|
||||
'{tag_name: $tag, name: $name, body: $body, draft: $draft, prerelease: $prerelease}')
|
||||
|
||||
# JSON=$(jq -n \
|
||||
# --arg tag "$TAG" \
|
||||
# --arg name "Version $VERSION" \
|
||||
# --arg body "${{ steps.changelog.outputs.current }}" \
|
||||
# '{tag_name: $tag, name: $name, body: $body, draft: false, prerelease: false}')
|
||||
|
||||
API_RESPONSE=$(curl -s -X POST "$API_URL" \
|
||||
-H "accept: application/json" \
|
||||
-H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \
|
||||
|
||||
Reference in New Issue
Block a user