Replace inline bash with moko-platform CLI calls:
- manifest_read.php for platform detection
- version_read.php + version_bump.php for version management
- badge_update.php for README badges
- updates_xml_build.php for Joomla update stream
- release_cascade.php for pre-release cleanup
Reduces auto-release.yml from 1006 to 762 lines (-244).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace inline bash with moko-platform CLI calls:
- manifest_read.php --github-output for platform detection
- version_bump.php for patch version increment
- version_set_platform.php for manifest version update
- joomla_build.php for type-aware package building
- updates_xml_sync.php for cross-branch sync
Reduces inline bash from ~160 lines to ~85 lines.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
New CLI tool syncs updates.xml to target branches via Gitea API.
Pre-release workflow now calls the CLI instead of inline bash.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Update DEFGROUP and INGROUP fields across all CLI scripts
to reflect the repo rename from MokoStandards to moko-platform.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The git checkout approach fails when dev and main have diverged.
Use Gitea Contents API (PUT) to update updates.xml on target branches
directly, matching the pattern already used in auto-release.yml.
Fixes#34
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Rename class, file, and all references across the codebase to align
with the moko-platform naming convention.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Update GiteaAdapter.getWorkflowDir() and getMetadataDir() to return
.mokogitea paths. All 24 PHP files referencing .gitea/ updated.
Bulk sync will now push workflows to .mokogitea/workflows/ in
governed repos.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add cli/joomla_build.php — standalone build tool that detects all
Joomla extension types from the XML manifest and builds accordingly:
- plugin, module, component, template, library, file: flat ZIP
- package: nested ZIPs for each sub-extension in packages/
Update both workflows to call joomla_build.php via the moko-platform
PHP API instead of inlining bash build logic.
Also extends joomla_release.php with:
- typePrefix() for correct naming (plg_, mod_, com_, tpl_, pkg_, lib_)
- buildPackageZip() for multi-extension package assembly
- copyDir() helper
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add || true to all find|grep|head pipelines to prevent grep exit-code 1
from killing steps under bash -e -o pipefail
- Replace rsync with cp -a in pre-release Build Package step since rsync
is not always available in runner containers (exit 127)
Fixes#20, Fixes#21
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>