feat: merge version_bump.php manifest-aware fix from PR #288 to main #289

Closed
opened 2026-06-21 02:44:51 +00:00 by jmiller · 0 comments
Owner

Context

PR #288 (fix/version-bump-manifest-aware) added two features to version_bump.php to prevent dev versions from falling behind stable:

  1. --min-version argument — workflow can pass the current stable version so the bump is guaranteed 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

The code is merged to dev but PR #288 could not be merged to main via API (persistent Gitea 405 "Please try again later" — merge lock issue).

TODO

  1. Merge PR #288 to main (or cherry-pick the commit from dev)
  2. Update /opt/mokocli on the Gitea server (git pull && composer dump-autoload)
  3. Update the pre-release workflow template to pass --min-version from the Gitea releases API (optional — the auto-detect from git handles it, but explicit is better)
  4. Close PR #288 and issue bug: manifest_read.php fails when .mokogitea/manifest.xml is deleted (#283)

Related

  • Issue #283: manifest_read.php fails when manifest.xml is deleted
  • Issue #280: cascade release zip to all lower stability channels
  • PR #288: the actual code change (on dev branch)
## Context PR #288 (`fix/version-bump-manifest-aware`) added two features to `version_bump.php` to prevent dev versions from falling behind stable: 1. **`--min-version` argument** — workflow can pass the current stable version so the bump is guaranteed 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 The code is merged to dev but PR #288 could not be merged to main via API (persistent Gitea 405 "Please try again later" — merge lock issue). ## TODO 1. Merge PR #288 to main (or cherry-pick the commit from dev) 2. Update `/opt/mokocli` on the Gitea server (`git pull && composer dump-autoload`) 3. Update the pre-release workflow template to pass `--min-version` from the Gitea releases API (optional — the auto-detect from git handles it, but explicit is better) 4. Close PR #288 and issue #283 ## Related - Issue #283: manifest_read.php fails when manifest.xml is deleted - Issue #280: cascade release zip to all lower stability channels - PR #288: the actual code change (on dev branch)
Sign in to join this conversation.
No labels
Priority Medium
Type Feature
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/mokocli#289