Compare commits

...

2 Commits
v30 ... v34

Author SHA1 Message Date
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

View File

@@ -219,15 +219,36 @@ jobs:
- name: Repository aktualisieren
run: |
OWNER="AG_QGIS" # z. B. dein Benutzername oder deine Organisation
WORKFLOW="update.yml" # Name der Workflow-Datei im Repository-Repo
OWNER="AG_QGIS"
WORKFLOW="update.yml"
# JSON als STRING escapen
PAYLOAD=$(jq -Rs . < repo/payload.json)
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) }" \
-d "{
\"ref\": \"feature/release\",
\"inputs\": {
\"client_payload\": $PAYLOAD
}
}" \
"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" \