fix(updateserver): pick installable package zip, not the source archive #843
Reference in New Issue
Block a user
Delete Branch "fix/joomla-update-artifact-selection"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The Joomla update feed picked the FIRST .zip attachment on a release. Releases carrying extra zips (
<repo>-<channel>-source.zipalongsidepkg_*.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 onepkg_zip so was unaffected).Adds
selectJoomlaArtifact(): prefer an extension-prefixed zip (pkg_/com_/mod_/plg_/tpl_/lib_) that is not a-sourcearchive, then any non-source zip, then any zip.