fix(cli): handle stacked version suffixes #202

Merged
jmiller merged 10 commits from dev into main 2026-05-28 21:54:00 +00:00

10 Commits

Author SHA1 Message Date
gitea-actions[bot] 83bb3fd084 chore(version): auto-bump patch 09.02.09-dev [skip ci]
Branch Cleanup / Delete merged branch (pull_request) Has been skipped
Universal: Build & Release / Promote Pre-Release to RC (pull_request) Has been skipped
Universal: Build & Release / Build & Release Pipeline (pull_request) Failing after 11s
2026-05-28 21:52:36 +00:00
Jonathan Miller 6703935d80 fix(cli): handle stacked version suffixes (-dev-dev-dev)
Generic: Repo Health / Site Health (push) Has been skipped
Generic: Repo Health / Access control (push) Successful in 1s
Universal: Auto Version Bump / Version Bump (push) Successful in 4s
Platform: moko-platform CI / Gate 1: Code Quality (push) Failing after 47s
Platform: moko-platform CI / Gate 2: Unit Tests (8.1) (push) Has been cancelled
Platform: moko-platform CI / Gate 2: Unit Tests (8.2) (push) Has been cancelled
Platform: moko-platform CI / Gate 2: Unit Tests (8.3) (push) Has been cancelled
Platform: moko-platform CI / Gate 3: Self-Health Check (push) Has been cancelled
Platform: moko-platform CI / Gate 4: Governance (push) Has been cancelled
Platform: moko-platform CI / Gate 5: Template Integrity (push) Has been cancelled
Platform: moko-platform CI / CI Summary (push) Has been cancelled
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
All version CLI tools now match and strip multiple stacked suffixes
instead of only the last one. This prevents -dev-dev-dev snowballing
when CI runs multiple times before cleanup.

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-28 16:52:29 -05:00
Jonathan Miller 28a9e05cb7 fix: auto-add folder=\"packages\" to package manifest during build
When building Joomla packages, sub-package ZIPs are placed in a
packages/ subdirectory. The manifest <files> element must have
folder="packages" for Joomla to find them. This fix ensures the
attribute is always present, even if version bump tools overwrote it.

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-28 16:52:28 -05:00
Jonathan Miller 20293f5f5c fix: force-refresh moko-platform clone + delete legacy templates/workflows/
- Add rm -rf before git clone in all workflow setup steps to prevent
  stale CLI tools from being reused across runner jobs
- Delete templates/workflows/ — .mokogitea/workflows/ is the canonical
  source for workflow templates

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-28 16:52:28 -05:00
jmiller ec07a75097 chore: sync .mokogitea/workflows/update-server.yml from moko-platform [skip ci] 2026-05-28 20:50:31 +00:00
jmiller 6c4db0c64c chore: sync .mokogitea/workflows/auto-release.yml from moko-platform [skip ci] 2026-05-28 20:45:54 +00:00
jmiller 508d33df63 chore: sync .mokogitea/workflows/auto-release.yml from moko-platform [skip ci] 2026-05-28 20:27:45 +00:00
jmiller 391ce25256 chore: sync .mokogitea/workflows/pre-release.yml from moko-platform [skip ci] 2026-05-28 20:08:50 +00:00
jmiller 170deab90f chore: sync .mokogitea/workflows/update-server.yml from moko-platform [skip ci] 2026-05-28 20:05:32 +00:00
jmiller bd13cb9a5e chore: sync .mokogitea/workflows/auto-release.yml from moko-platform [skip ci] 2026-05-28 20:02:08 +00:00