Compare commits
2 Commits
0912ba17ca
...
7920fb83f3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7920fb83f3 | ||
|
|
91da5ee3c0 |
@@ -49,8 +49,8 @@ jobs:
|
|||||||
;;
|
;;
|
||||||
*-testing*)
|
*-testing*)
|
||||||
CHANNEL="testing"
|
CHANNEL="testing"
|
||||||
DRAFT="true"
|
DRAFT="false"
|
||||||
PRERELEASE="false"
|
PRERELEASE="true"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
CHANNEL="stable"
|
CHANNEL="stable"
|
||||||
@@ -177,12 +177,6 @@ jobs:
|
|||||||
--argjson prerelease "${{ steps.releaseinfo.outputs.prerelease }}" \
|
--argjson prerelease "${{ steps.releaseinfo.outputs.prerelease }}" \
|
||||||
'{tag_name: $tag, name: $name, body: $body, draft: $draft, prerelease: $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" \
|
API_RESPONSE=$(curl -s -X POST "$API_URL" \
|
||||||
-H "accept: application/json" \
|
-H "accept: application/json" \
|
||||||
-H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \
|
-H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \
|
||||||
@@ -275,7 +269,12 @@ jobs:
|
|||||||
|
|
||||||
PAYLOAD_B64=$(base64 -w0 repo/payload.json)
|
PAYLOAD_B64=$(base64 -w0 repo/payload.json)
|
||||||
|
|
||||||
JSON="{\"ref\":\"hidden/workflows\",\"inputs\":{\"payload\":\"$PAYLOAD_B64\"}}"
|
NAME="${{ steps.info.outputs.name }}"
|
||||||
|
TAG="$VERSION"
|
||||||
|
|
||||||
|
JSON="{\"ref\":\"hidden/workflows\",\"inputs\":{\"payload\":\"$PAYLOAD_B64\",\"name\":\"$NAME\",\"tag\":\"$TAG\"}}"
|
||||||
|
|
||||||
|
#JSON="{\"ref\":\"hidden/workflows\",\"inputs\":{\"payload\":\"$PAYLOAD_B64\"}}"
|
||||||
|
|
||||||
echo "DEBUG | Sende JSON:"
|
echo "DEBUG | Sende JSON:"
|
||||||
echo "$JSON"
|
echo "$JSON"
|
||||||
|
|||||||
Reference in New Issue
Block a user