fix(updateserver): pick installable package zip, not the source archive #843

Merged
jmiller merged 1 commits from fix/joomla-update-artifact-selection into dev 2026-07-20 11:36:04 +00:00
Owner

The Joomla update feed picked the FIRST .zip attachment on a release. Releases carrying extra zips (<repo>-<channel>-source.zip alongside pkg_*.zip) advertised the raw source archive, so Joomla downloaded a non-installable zip and failed with Install path does not exist (prerelease/dev channels; stable had one pkg_ zip so was unaffected).

Adds selectJoomlaArtifact(): prefer an extension-prefixed zip (pkg_/com_/mod_/plg_/tpl_/lib_) that is not a -source archive, then any non-source zip, then any zip.

The Joomla update feed picked the FIRST .zip attachment on a release. Releases carrying extra zips (`<repo>-<channel>-source.zip` alongside `pkg_*.zip`) advertised the raw source archive, so Joomla downloaded a non-installable zip and failed with **Install path does not exist** (prerelease/dev channels; stable had one `pkg_` zip so was unaffected). Adds `selectJoomlaArtifact()`: prefer an extension-prefixed zip (`pkg_/com_/mod_/plg_/tpl_/lib_`) that is not a `-source` archive, then any non-source zip, then any zip.
jmiller added 1 commit 2026-07-20 11:35:50 +00:00
fix(updateserver): pick installable package zip, not the source archive
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 42s
Generic: Project CI / Lint & Validate (pull_request) Successful in 1m16s
Generic: Project CI / Tests (pull_request) Successful in 1m2s
Universal: PR Check / Require Docs Update (pull_request) Has been skipped
Universal: PR Check / Branch Policy (pull_request) Successful in 6s
Universal: PR Check / Wiki Update Reminder (pull_request) Has been skipped
Universal: PR Check / Validate PR (pull_request) Successful in 48s
Branch Cleanup / Delete merged branch (pull_request) Successful in 2s
RC Revert / Rename rc/ back to dev/ (pull_request) Has been skipped
Universal: PR Check / Secret Scan (pull_request) Successful in 1m47s
Universal: PR Check / Build RC Package (pull_request) Has been cancelled
Universal: PR Check / Report Issues (pull_request) Has been cancelled
376f644872
The Joomla update feed took the FIRST .zip attachment on a release as the
download URL. Releases that carry extra zips (e.g. <repo>-<channel>-source.zip
alongside pkg_*.zip) then advertised the raw SOURCE archive, so Joomla
downloaded a non-installable zip and failed with "Install path does not exist"
(affected prerelease/dev channels; stable had a single pkg_ zip so was fine).

Add selectJoomlaArtifact(): prefer an extension-prefixed zip
(pkg_/com_/mod_/plg_/tpl_/lib_) that is not a "-source" archive, then any
non-source zip, then any zip.

Authored-by: Moko Consulting
jmiller merged commit 47e04ae77a into dev 2026-07-20 11:36:04 +00:00
jmiller deleted branch fix/joomla-update-artifact-selection 2026-07-20 11:36:06 +00:00
Sign in to join this conversation.