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"
|
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" \
|
||||||
|
|||||||
Reference in New Issue
Block a user