Compare commits

...

9 Commits
v23 ... 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
Michael Otto
067e0f3170 Release v33 2026-03-03 10:08:03 +01:00
Michael Otto
2e65ec4bc4 Release v29 2026-03-03 09:44:03 +01:00
Michael Otto
0ce29c9e84 Release v27 2026-03-03 09:36:12 +01:00
Michael Otto
75b7e8073a Release v26 2026-03-03 09:28:31 +01:00
Michael Otto
88a62af7c8 Release v25 2026-03-03 09:27:23 +01:00
Michael Otto
049c0f64ed Release v24 2026-03-03 09:26:38 +01:00

View File

@@ -179,7 +179,6 @@ jobs:
fi
- name: Payload erzeugen
id: payload
run: |
cd repo
@@ -215,15 +214,50 @@ jobs:
changelog: $changelog
}' > payload.json
echo "payload=$(cat payload.json)" >> $GITHUB_OUTPUT
echo "Payload:"
cat payload.json
- name: Repository aktualisieren
run: |
OWNER="AG_QGIS"
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 \
-H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \
-H "Content-Type: application/json" \
-d "{\"event_type\": \"update_plugin\", \"client_payload\": ${{ steps.payload.outputs.payload }}}" \
https://${{ vars.RELEASE_URL }}/api/v1/repos/<OWNER>/Repository/dispatches
-d "$JSON" \
"https://${{ vars.RELEASE_URL }}/api/v1/repos/${OWNER}/Repository/actions/workflows/${WORKFLOW}/dispatches"
# - name: Repository aktualisieren
# run: |
# OWNER="AG_QGIS" # z. B. dein Benutzername oder deine Organisation
# WORKFLOW="update.yml" # Name der Workflow-Datei im Repository-Repo
# curl -X POST \
# -H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \
# -H "Content-Type: application/json" \
# -d "{\"ref\": \"feature/release\", \"inputs\": {}, \"event_type\": \"update_plugin\", \"client_payload\": $(cat repo/payload.json) }" \
# "https://${{ vars.RELEASE_URL }}/api/v1/repos/${OWNER}/Repository/actions/workflows/${WORKFLOW}/dispatches"
# curl -X POST \
# -H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \
# -H "Content-Type: application/json" \
# -d @repo/payload.json \
# "https://${{ vars.RELEASE_URL }}/api/v1/repos/${OWNER}/Repository/actions/workflows/${WORKFLOW}/dispatches"
- name: Debug Info