Compare commits

...

3 Commits
v33 ... v37

Author SHA1 Message Date
Michael Otto
44aae815f5 Release v37 2026-03-03 10:15:05 +01:00
Michael Otto
af43bfeab9 Release v36 2026-03-03 10:13:36 +01:00
Michael Otto
c55dedbbe1 Release v34 2026-03-03 10:10:02 +01:00

View File

@@ -222,11 +222,23 @@ jobs:
OWNER="AG_QGIS" OWNER="AG_QGIS"
WORKFLOW="update.yml" WORKFLOW="update.yml"
# payload.json in Base64 umwandeln
PAYLOAD_B64=$(base64 -w0 repo/payload.json)
# JSON für Gitea bauen
JSON="{\"ref\":\"feature/release\",\"inputs\":{\"payload\":\"$PAYLOAD_B64\"}}"
echo "Sende JSON:"
echo "$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 "$JSON" \
"https://${{ vars.RELEASE_URL }}/api/v1/repos/${OWNER}/Repository/actions/workflows/${WORKFLOW}/dispatches?event_type=update_plugin" "https://${{ vars.RELEASE_URL }}/api/v1/repos/${OWNER}/Repository/actions/workflows/${WORKFLOW}/dispatches"
# - name: Repository aktualisieren # - name: Repository aktualisieren