gitea actions ng40
This commit is contained in:
@@ -162,11 +162,11 @@ jobs:
|
||||
API_URL="https://${{ vars.RELEASE_URL }}/api/v1/repos/${PLUGIN_GROUP}/${PLUGIN_NAME}/releases"
|
||||
|
||||
JSON=$(jq -n \
|
||||
--arg tag_name "Version $VERSION-$CHANNEL" \
|
||||
--arg tag "Version $VERSION-$CHANNEL" \
|
||||
--arg name "Version $VERSION-$CHANNEL" \
|
||||
--arg body "$BODY" \
|
||||
--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" \
|
||||
-H "accept: application/json" \
|
||||
|
||||
Reference in New Issue
Block a user