fix: auto-release sanity checks should use release_validate.php #180

Closed
opened 2026-05-26 21:16:15 +00:00 by jmiller · 1 comment
Owner

Problem

auto-release.yml "Sanity: Pre-release validation" step is still 95 lines of inline bash doing version drift checks. release_validate.php already does all of this with --output-summary and --github-output flags.

Solution

Replace inline bash with:

php /tmp/moko-platform-api/cli/release_validate.php --path . --version VERSION --output-summary --github-output

Files

  • .mokogitea/workflows/auto-release.yml
## Problem auto-release.yml "Sanity: Pre-release validation" step is still 95 lines of inline bash doing version drift checks. release_validate.php already does all of this with --output-summary and --github-output flags. ## Solution Replace inline bash with: ```bash php /tmp/moko-platform-api/cli/release_validate.php --path . --version VERSION --output-summary --github-output ``` ## Files - .mokogitea/workflows/auto-release.yml
jmiller added the ci-cdbuild labels 2026-05-26 21:16:15 +00:00
Author
Owner

Branch created: feature/180-fix-auto-release-sanity-checks-should-us

git fetch origin
git checkout feature/180-fix-auto-release-sanity-checks-should-us
Branch created: [`feature/180-fix-auto-release-sanity-checks-should-us`](https://git.mokoconsulting.tech/MokoConsulting/moko-platform/src/branch/feature/180-fix-auto-release-sanity-checks-should-us) ```bash git fetch origin git checkout feature/180-fix-auto-release-sanity-checks-should-us ```
Sign in to join this conversation.
No labels build ci-cd
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/moko-platform#180