fix(version-bump): prevent dev from falling behind stable (#283) #288

Closed
jmiller wants to merge 2 commits from fix/version-bump-manifest-aware into main

2 Commits

Author SHA1 Message Date
gitea-actions[bot] 78484a2558 chore(version): pre-release bump to 09.32.01-dev [skip ci] 2026-06-21 02:35:59 +00:00
Jonathan Miller d5fa609f15 fix(version-bump): prevent dev from falling behind stable (#283)
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 10s
version_bump.php now checks two additional sources before bumping:

1. --min-version argument: workflow can pass the current stable version
   so the bump is guaranteed to be above it
2. Auto-detect from git: scans commit messages and remote branch
   manifests (origin/main, origin/rc) to find the highest version
   released on any channel. If a higher version exists on another
   branch, uses that as the base instead of the local manifest.

This prevents the scenario where dev builds at 02.44.xx while stable
is at 02.45.00 — the bump will now use 02.45.00 as the base and
produce 02.45.01-dev or 02.46.00-dev depending on bump type.
2026-06-20 21:35:47 -05:00