Release v34
All checks were successful
Release Plugin / release (push) Successful in 4s

This commit is contained in:
Michael Otto
2026-03-03 10:10:02 +01:00
parent 067e0f3170
commit c55dedbbe1

View File

@@ -222,11 +222,20 @@ jobs:
OWNER="AG_QGIS" OWNER="AG_QGIS"
WORKFLOW="update.yml" WORKFLOW="update.yml"
# JSON als STRING escapen
PAYLOAD=$(jq -Rs . < repo/payload.json)
curl -X POST \ curl -X POST \
-H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \ -H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
-d "{\"ref\": \"feature/release\", \"client_payload\": $(cat repo/payload.json) }" \ -d "{
"https://${{ vars.RELEASE_URL }}/api/v1/repos/${OWNER}/Repository/actions/workflows/${WORKFLOW}/dispatches?event_type=update_plugin" \"ref\": \"feature/release\",
\"inputs\": {
\"client_payload\": $PAYLOAD
}
}" \
"https://${{ vars.RELEASE_URL }}/api/v1/repos/${OWNER}/Repository/actions/workflows/${WORKFLOW}/dispatches"
# - name: Repository aktualisieren # - name: Repository aktualisieren