3
0

gitea actions ng40

This commit is contained in:
Michael Otto
2026-03-18 13:39:10 +01:00
parent 9dbc0bd2f0
commit d872fc0d2a

View File

@@ -162,11 +162,11 @@ jobs:
API_URL="https://${{ vars.RELEASE_URL }}/api/v1/repos/${PLUGIN_GROUP}/${PLUGIN_NAME}/releases" API_URL="https://${{ vars.RELEASE_URL }}/api/v1/repos/${PLUGIN_GROUP}/${PLUGIN_NAME}/releases"
JSON=$(jq -n \ JSON=$(jq -n \
--arg tag_name "Version $VERSION-$CHANNEL" \ --arg tag "Version $VERSION-$CHANNEL" \
--arg name "Version $VERSION-$CHANNEL" \ --arg name "Version $VERSION-$CHANNEL" \
--arg body "$BODY" \ --arg body "$BODY" \
--argjson prerelease "$PRERELEASE" \ --argjson prerelease "$PRERELEASE" \
'{tag_name: $tag_name, name: $name, body: $body, prerelease: $prerelease}') '{tag_name: $tag, name: $name, body: $body, prerelease: $prerelease}')
API_RESPONSE=$(curl -s -X POST "$API_URL" \ API_RESPONSE=$(curl -s -X POST "$API_URL" \
-H "accept: application/json" \ -H "accept: application/json" \