feat(cli): use joomla_build.php in client-release workflow Step 2 #77

Closed
opened 2026-05-24 08:26:53 +00:00 by jmiller · 1 comment
Owner

Summary

Replace the entire Build ZIP step in client-release.yml with joomla_build.php --github-output.

Current (~20 lines)

Manual zip, sha256sum, stat with hardcoded exclude patterns.

Proposed

php /tmp/moko-platform/cli/joomla_build.php \n  --path . --version "$VERSION" --output /tmp --github-output

Impact

~20 lines to 2 lines. CLI handles all extension types, excludes, SHA-256, and GITHUB_OUTPUT.

Affected workflows

  • client-release.yml (Template-Client-WaaS, client-waas-clarksvillefurs)
## Summary Replace the entire Build ZIP step in `client-release.yml` with `joomla_build.php --github-output`. ## Current (~20 lines) Manual `zip`, `sha256sum`, `stat` with hardcoded exclude patterns. ## Proposed ```bash php /tmp/moko-platform/cli/joomla_build.php \n --path . --version "$VERSION" --output /tmp --github-output ``` ## Impact ~20 lines to 2 lines. CLI handles all extension types, excludes, SHA-256, and GITHUB_OUTPUT. ## Affected workflows - `client-release.yml` (Template-Client-WaaS, client-waas-clarksvillefurs)
Author
Owner

Test Proof

Run: #10326
Result: All 10 steps passed
Runner: mokogitea-runner-02 with custom moko/runner-images:ubuntu-latest image

Steps

[success] Clean workspace
[success] Checkout
[success] Install dependencies
[success] Setup moko-platform
[success] Read version
[success] Build ZIP          <-- joomla_build.php
[success] Stream releases
[success] Update updates.xml  <-- updates_xml_sync.php
[success] Bump dev version
[success] Summary

Implemented in client-waas-clarksvillefurs and Template-Client-WaaS.

Change

Replaced ~20 lines of inline zip/sha256sum/stat with:

php /tmp/moko-platform/cli/joomla_build.php \
  --path . --version "$VERSION" --output /tmp --github-output
## Test Proof **Run:** [#10326](https://git.mokoconsulting.tech/ClarksvilleFurs/client-waas-clarksvillefurs/actions/runs/10326) **Result:** All 10 steps passed **Runner:** mokogitea-runner-02 with custom `moko/runner-images:ubuntu-latest` image ### Steps ``` [success] Clean workspace [success] Checkout [success] Install dependencies [success] Setup moko-platform [success] Read version [success] Build ZIP <-- joomla_build.php [success] Stream releases [success] Update updates.xml <-- updates_xml_sync.php [success] Bump dev version [success] Summary ``` Implemented in `client-waas-clarksvillefurs` and `Template-Client-WaaS`. ### Change Replaced ~20 lines of inline `zip`/`sha256sum`/`stat` with: ```yaml php /tmp/moko-platform/cli/joomla_build.php \ --path . --version "$VERSION" --output /tmp --github-output ```
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/moko-platform#77