refactor: use release_validate.php for workflow sanity checks #161
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?
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
Branch created:
feature/161-refactor-use-release-validate-php-for-woProof
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
07ea171on dev.