fix(version-bump): prevent dev from falling behind stable (#289) #291

Merged
jmiller merged 1 commits from feature/289-cherry-pick-version-bump into main 2026-06-21 02:49:48 +00:00
Owner

Summary

Cherry-pick of d5fa609 from dev. version_bump.php now prevents dev versions from falling behind stable by checking:

  1. --min-version argument — workflow can pass the current stable version
  2. Auto-detect from git — scans origin/main and origin/rc manifests for the highest released version and uses it as the bump base

This prevents dev builds at 02.44.xx while stable is at 02.45.00.

Test plan

  • php -l cli/version_bump.php passes
  • Version bump on dev produces a version above the latest stable release
  • --min-version 02.45.00 forces the bump above that version

Closes #289

## Summary Cherry-pick of `d5fa609` from dev. `version_bump.php` now prevents dev versions from falling behind stable by checking: 1. **`--min-version` argument** — workflow can pass the current stable version 2. **Auto-detect from git** — scans `origin/main` and `origin/rc` manifests for the highest released version and uses it as the bump base This prevents dev builds at `02.44.xx` while stable is at `02.45.00`. ## Test plan - [ ] `php -l cli/version_bump.php` passes - [ ] Version bump on dev produces a version above the latest stable release - [ ] `--min-version 02.45.00` forces the bump above that version Closes #289
jmiller added 1 commit 2026-06-21 02:49:34 +00:00
fix(version-bump): prevent dev from falling behind stable (#289)
Platform: mokoplatform CI / Gate 2: Unit Tests (8.1) (pull_request) Blocked by required conditions
Platform: mokoplatform CI / Gate 2: Unit Tests (8.2) (pull_request) Blocked by required conditions
Platform: mokoplatform CI / Gate 2: Unit Tests (8.3) (pull_request) Blocked by required conditions
Platform: mokoplatform CI / Gate 3: Self-Health Check (pull_request) Blocked by required conditions
Platform: mokoplatform CI / Gate 4: Governance (pull_request) Blocked by required conditions
Platform: mokoplatform CI / Gate 5: Template Integrity (pull_request) Blocked by required conditions
Platform: mokoplatform CI / CI Summary (pull_request) Blocked by required conditions
Universal: PR Check / Build RC Package (pull_request) Blocked by required conditions
Universal: PR Check / Report Issues (pull_request) Blocked by required conditions
Generic: Repo Health / Scripts governance (pull_request) Blocked by required conditions
Generic: Repo Health / Repository health (pull_request) Blocked by required conditions
Generic: Repo Health / Report Issues (pull_request) Blocked by required conditions
Universal: PR Check / Branch Policy (pull_request) Failing after 1s
Generic: Repo Health / Access control (pull_request) Successful in 1s
Generic: Repo Health / Site Health (pull_request) Has been skipped
Universal: PR Check / Validate PR (pull_request) Failing after 6s
Universal: PR Check / Secret Scan (pull_request) Successful in 8s
Branch Cleanup / Delete merged branch (pull_request) Successful in 2s
RC Revert / Rename rc/ back to dev/ (pull_request) Has been skipped
Platform: mokoplatform CI / Gate 1: Code Quality (pull_request) Failing after 1m6s
Universal: Workflow Sync Trigger / Sync workflows to live repos (pull_request) Failing after 2m2s
Universal: Auto Version Bump / Version Bump (push) Successful in 11s
Universal: Build & Release / Promote to RC (pull_request) Has been skipped
Universal: Build & Release / Build & Release Pipeline (pull_request) Successful in 28s
e7b2c1fba2
Cherry-pick from dev (d5fa609). version_bump.php now checks:
1. --min-version argument from workflow
2. Auto-detect from git — scans origin/main and origin/rc for highest
   released version and uses it as the bump base

Closes #289
jmiller merged commit 4b6fcb5fa4 into main 2026-06-21 02:49:48 +00:00
jmiller deleted branch feature/289-cherry-pick-version-bump 2026-06-21 02:49:49 +00:00
Sign in to join this conversation.
No Reviewers
No labels
Priority -
Type -
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/mokocli#291