cli: version_bump_and_cascade.php - bump version across all manifests #59

Closed
opened 2026-05-23 22:57:54 +00:00 by jmiller · 1 comment
Owner

Summary

Extract version bump logic from auto-release.yml (lines 131-206) into a CLI tool.

What it does

  • Bumps minor version, resets patch
  • Updates README.md, Joomla XML manifest, Dolibarr mod*.class.php
  • Promotes CHANGELOG.md [Unreleased] to version header
  • Commits and pushes to main

CLI interface

php cli/version_bump_and_cascade.php --path . --platform joomla --manifest src/templateDetails.xml --push-to-main

Priority

High complexity, high reuse.

## Summary Extract version bump logic from auto-release.yml (lines 131-206) into a CLI tool. ## What it does - Bumps minor version, resets patch - Updates README.md, Joomla XML manifest, Dolibarr mod*.class.php - Promotes CHANGELOG.md [Unreleased] to version header - Commits and pushes to main ## CLI interface ```bash php cli/version_bump_and_cascade.php --path . --platform joomla --manifest src/templateDetails.xml --push-to-main ``` ## Priority High complexity, high reuse.
Author
Owner

Already implemented

Covered by three existing CLI tools:

  • cli/version_bump.php — bumps version in README.md (patch/minor/major)
  • cli/changelog_promote.php — promotes [Unreleased] to versioned entry
  • cli/version_set_platform.php — sets version across platform manifests (Joomla XML, Dolibarr mod file)

The workflow calls these in sequence. No single combined tool needed — closing as already resolved.

## Already implemented Covered by three existing CLI tools: - `cli/version_bump.php` — bumps version in README.md (patch/minor/major) - `cli/changelog_promote.php` — promotes [Unreleased] to versioned entry - `cli/version_set_platform.php` — sets version across platform manifests (Joomla XML, Dolibarr mod file) The workflow calls these in sequence. No single combined tool needed — closing as already resolved.
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/moko-platform#59