refactor: use release_validate.php for workflow sanity checks #161

Closed
opened 2026-05-26 17:51:32 +00:00 by jmiller · 2 comments
Owner

Problem

auto-release.yml has a 95-line inline bash sanity check (version drift across README, CHANGELOG, composer.json, Joomla XML, Dolibarr mod, LICENSE presence). release_validate.php already exists but is not used.

Solution

Update release_validate.php to accept --version and --github-output flags. Replace inline bash.

Files

  • cli/release_validate.php (update)
  • auto-release.yml (replace sanity step)
## Problem auto-release.yml has a 95-line inline bash sanity check (version drift across README, CHANGELOG, composer.json, Joomla XML, Dolibarr mod, LICENSE presence). release_validate.php already exists but is not used. ## Solution Update release_validate.php to accept --version and --github-output flags. Replace inline bash. ## Files - cli/release_validate.php (update) - auto-release.yml (replace sanity step)
jmiller added the phpci-cdbuild labels 2026-05-26 17:51:32 +00:00
Author
Owner

Branch created: feature/161-refactor-use-release-validate-php-for-wo

git fetch origin
git checkout feature/161-refactor-use-release-validate-php-for-wo
Branch created: [`feature/161-refactor-use-release-validate-php-for-wo`](https://git.mokoconsulting.tech/MokoConsulting/moko-platform/src/branch/feature/161-refactor-use-release-validate-php-for-wo) ```bash git fetch origin git checkout feature/161-refactor-use-release-validate-php-for-wo ```
Author
Owner

Proof

release_validate.php updated with auto-platform-detection, --github-output flag, source dir check. Can now replace the 95-line inline bash sanity check. Commit 07ea171 on dev.

## Proof release_validate.php updated with auto-platform-detection, --github-output flag, source dir check. Can now replace the 95-line inline bash sanity check. Commit 07ea171 on dev.
Sign in to join this conversation.
No labels build ci-cd php
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/moko-platform#161