feat(cli): create version_bump_remote.php for remote branch version bumping #80
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
Create a new CLI tool
version_bump_remote.phpthat bumps version in manifest XML and CHANGELOG.md on a remote branch via Gitea contents API without requiring a local checkout.Problem
client-release.ymlStep 5 has ~55 lines of inline curl/python that:version_bump.php --minortemplateDetails.xmlfrom dev via API<version>in contentCHANGELOG.mdfrom dev via APIThis is the largest inline block remaining.
Proposed CLI
Impact
~55 lines to 3 lines. Also benefits all Joomla auto-release workflows.
Affected workflows
client-release.yml(Template-Client-WaaS, client-waas-clarksvillefurs)Test Proof
Run: #10354
Result: All steps passed
Step 5 replaced ~55 lines of inline curl/python with a single call to version_bump_remote.php --branch dev --bump minor.
Implemented in client-waas-clarksvillefurs and Template-Client-WaaS.