diff --git a/.gitea/workflows/build-plugin.yml b/.gitea/workflows/build-plugin.yml index d4d1594..574cc30 100644 --- a/.gitea/workflows/build-plugin.yml +++ b/.gitea/workflows/build-plugin.yml @@ -73,7 +73,7 @@ jobs: release="$(curl --fail-with-body -sS -X POST "$api/releases" \ -H "Authorization: token $GITEA_TOKEN" \ -H 'Content-Type: application/json' \ - -d "{\"tag_name\":\"$TAG\",\"name\":\"AsminDiscordBridge $VERSION\",\"body\":\"Automatyczny build AsminDiscordBridge $VERSION.\",\"draft\":false,\"prerelease\":false}")" + -d "{\"tag_name\":\"$TAG\",\"name\":\"AsminDiscordBridge $VERSION\",\"body\":\"AsminDiscordBridge $VERSION.\",\"draft\":false,\"prerelease\":false}")" release_id="$(python3 -c 'import json,sys; print(json.load(sys.stdin)["id"])' <<< "$release")" curl --fail-with-body -sS -X POST "$api/releases/$release_id/assets?name=$jar" \ -H "Authorization: token $GITEA_TOKEN" \