feat(cli): use updates_xml_sync.php in client-release workflow Step 4 #79
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Replace ~35 lines of inline curl/python that push
updates.xmlto main and dev via Gitea contents API withupdates_xml_sync.php.Current (~35 lines)
Manual curl GET for SHA, curl PUT for update, curl POST for create, per-branch loop with python3 JSON helpers.
Proposed
Impact
~35 lines to 2 lines. CLI handles SHA retrieval, create-vs-update, multi-branch sync.
Affected workflows
client-release.yml(Template-Client-WaaS, client-waas-clarksvillefurs)Test Proof
Run: #10326
Result: All 10 steps passed
Runner: mokogitea-runner-02 with custom
moko/runner-images:ubuntu-latestimageSteps
Implemented in
client-waas-clarksvillefursandTemplate-Client-WaaS.Change
Replaced ~35 lines of inline curl/python API calls with: