feat(cli): add 4 release pipeline CLI tools #69

Merged
jmiller merged 1 commits from feature/cli-release-tools into main 2026-05-24 03:47:32 +00:00
Owner

Summary

  • release_verify.php - Post-release artifact verification (ZIP integrity, manifest version, SHA256 vs updates.xml, disallowed files)
  • release_validate.php - Pre-release sanity checks (version consistency across README, CHANGELOG, manifest, updates.xml)
  • release_body_update.php - Update Gitea release body with changelog extract and checksums via API
  • dev_branch_reset.php - Delete and recreate dev branch from main via Gitea API

Test plan

  • PHP syntax check passed on all 4 files
  • release_verify.php tested against MokoOnyx 02.06.00 release ZIP (5 PASS, 1 WARN)
  • release_validate.php tested against MokoOnyx repo (correctly detected version drift on dev branch)
  • release_body_update.php and dev_branch_reset.php validated usage output

Issues resolved

Closes #56, #60, #62, #64

Also confirmed existing tools cover #57, #58, #59, #61, #63 (closed as already resolved).

Follow-up

  • #65 Update all repo workflows to use CLI tools instead of inline bash
  • #66 Document CLI tools in wiki
## Summary - **release_verify.php** - Post-release artifact verification (ZIP integrity, manifest version, SHA256 vs updates.xml, disallowed files) - **release_validate.php** - Pre-release sanity checks (version consistency across README, CHANGELOG, manifest, updates.xml) - **release_body_update.php** - Update Gitea release body with changelog extract and checksums via API - **dev_branch_reset.php** - Delete and recreate dev branch from main via Gitea API ## Test plan - [x] PHP syntax check passed on all 4 files - [x] release_verify.php tested against MokoOnyx 02.06.00 release ZIP (5 PASS, 1 WARN) - [x] release_validate.php tested against MokoOnyx repo (correctly detected version drift on dev branch) - [x] release_body_update.php and dev_branch_reset.php validated usage output ## Issues resolved Closes #56, #60, #62, #64 Also confirmed existing tools cover #57, #58, #59, #61, #63 (closed as already resolved). ## Follow-up - #65 Update all repo workflows to use CLI tools instead of inline bash - #66 Document CLI tools in wiki
jmiller added 1 commit 2026-05-24 03:45:14 +00:00
feat(cli): add 4 release pipeline CLI tools
Generic: Repo Health / Site Health (push) Has been skipped
Generic: Repo Health / Access control (push) Successful in 1s
Generic: Repo Health / Release configuration (push) Successful in 4s
Generic: Repo Health / Scripts governance (push) Successful in 4s
Generic: Repo Health / Repository health (push) Failing after 5s
Platform: moko-platform CI / Gate 2: Unit Tests (8.1) (pull_request) Blocked by required conditions
Platform: moko-platform CI / Gate 2: Unit Tests (8.2) (pull_request) Blocked by required conditions
Platform: moko-platform CI / Gate 2: Unit Tests (8.3) (pull_request) Blocked by required conditions
Platform: moko-platform CI / Gate 3: Self-Health Check (pull_request) Blocked by required conditions
Platform: moko-platform CI / Gate 4: Governance (pull_request) Blocked by required conditions
Universal: PR Check / Branch Policy (pull_request) Failing after 1s
Generic: Repo Health / Site Health (pull_request) Has been skipped
Generic: Repo Health / Access control (pull_request) Successful in 1s
Universal: Secret Scanning / Gitleaks Secret Scan (pull_request) Successful in 5s
Universal: PR Check / Validate PR (pull_request) Successful in 4s
Platform: moko-platform CI / Gate 1: Code Quality (pull_request) Failing after 10s
Generic: Repo Health / Release configuration (pull_request) Successful in 4s
Generic: Repo Health / Repository health (pull_request) Failing after 4s
Generic: Repo Health / Scripts governance (pull_request) Successful in 5s
Platform: moko-platform CI / Gate 5: Template Integrity (pull_request) Has been skipped
Platform: moko-platform CI / CI Summary (pull_request) Has been cancelled
14de7dbe19
- release_verify.php: Post-release artifact verification (ZIP integrity,
  manifest version, SHA256 vs updates.xml, disallowed files check)
- release_validate.php: Pre-release sanity checks (version consistency
  across README, CHANGELOG, manifest, updates.xml, composer.json)
- release_body_update.php: Update Gitea release body with changelog
  extract and checksums table via API
- dev_branch_reset.php: Delete and recreate dev branch from main via
  Gitea API

Resolves: #56, #60, #62, #64

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
jmiller merged commit f3ba340c46 into main 2026-05-24 03:47:32 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/moko-platform#69