fix: create SQL update file on Joomla version bump #317

Merged
jmiller merged 1 commits from fix/sql-update-file-on-bump into main 2026-06-25 16:21:09 +00:00
Owner

Summary

  • version_bump.php now creates an empty sql/updates/mysql/<version>.sql file when bumping Joomla extensions
  • Prevents persistent schema version mismatch warning in Joomla Database view
  • Scans packages/*/sql/updates/mysql/ and sql/updates/mysql/ under the source directory
  • Only creates the file if it does not already exist (won't overwrite real schema changes)

Test plan

  • Run version_bump.php --path <joomla-repo> and verify SQL file is created
  • Confirm existing SQL files are not overwritten
  • Verify non-Joomla repos (no sql/updates dir) are unaffected
## Summary - `version_bump.php` now creates an empty `sql/updates/mysql/<version>.sql` file when bumping Joomla extensions - Prevents persistent schema version mismatch warning in Joomla Database view - Scans `packages/*/sql/updates/mysql/` and `sql/updates/mysql/` under the source directory - Only creates the file if it does not already exist (won't overwrite real schema changes) ## Test plan - [ ] Run `version_bump.php --path <joomla-repo>` and verify SQL file is created - [ ] Confirm existing SQL files are not overwritten - [ ] Verify non-Joomla repos (no sql/updates dir) are unaffected
jmiller added 1 commit 2026-06-25 16:20:51 +00:00
fix: create SQL update file on Joomla version bump
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 12s
Universal: PR Check / Branch Policy (pull_request) Failing after 2s
Generic: Repo Health / Site Health (pull_request) Has been skipped
Universal: Build & Release / Promote to RC (pull_request) Has been skipped
Universal: PR Check / Secret Scan (pull_request) Successful in 14s
RC Revert / Rename rc/ back to dev/ (pull_request) Has been skipped
Generic: Repo Health / Access control (pull_request) Successful in 2s
Branch Cleanup / Delete merged branch (pull_request) Failing after 3s
Universal: PR Check / Validate PR (pull_request) Failing after 9s
Universal: Build & Release / Build & Release Pipeline (pull_request) Successful in 19s
Platform: mokocli CI / Gate 1: Code Quality (pull_request) Failing after 53s
Universal: Workflow Sync Trigger / Sync workflows to live repos (pull_request) Failing after 3m40s
Platform: mokocli CI / Gate 2: Unit Tests (8.1) (pull_request) Has been cancelled
Platform: mokocli CI / Gate 2: Unit Tests (8.2) (pull_request) Has been cancelled
Platform: mokocli CI / Gate 2: Unit Tests (8.3) (pull_request) Has been cancelled
Platform: mokocli CI / Gate 3: Self-Health Check (pull_request) Has been cancelled
Platform: mokocli CI / Gate 4: Governance (pull_request) Has been cancelled
Platform: mokocli CI / Gate 5: Template Integrity (pull_request) Has been cancelled
Platform: mokocli CI / CI Summary (pull_request) Has been cancelled
Universal: PR Check / Build RC Package (pull_request) Has been cancelled
Universal: PR Check / Report Issues (pull_request) Has been cancelled
Generic: Repo Health / Scripts governance (pull_request) Has been cancelled
Generic: Repo Health / Repository health (pull_request) Has been cancelled
Generic: Repo Health / Report Issues (pull_request) Has been cancelled
483a22a13c
version_bump.php now creates an empty sql/updates/mysql/<version>.sql
file when bumping Joomla extensions. Prevents schema version mismatch
in Joomla's Database view when no actual schema changes exist.
jmiller merged commit 8ab44feed5 into main 2026-06-25 16:21:09 +00:00
jmiller deleted branch fix/sql-update-file-on-bump 2026-06-25 16:21:13 +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#317