updates.xml tag resolves to dev instead of development #475
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Bug
When licensing is enabled, the release tag in updates.xml resolves to
development @ devinstead ofdevelopment. MokoGitea is interpreting the tag incorrectly — it shortensdevelopmenttodevin the download URL, which breaks Joomla's update system because the URL no longer points to a valid release asset.Observed
development(correct)developmenttagdevinstead ofdevelopmentExpected
developmentin the download URL, not shorten it todevpkg_mokobackup-01.01.06-dev.zip), not the tag in the URL pathImpact
Breaking — sites on the dev update channel cannot receive updates when licensing is enabled. The Joomla update system gets a 404 because the tag portion of the URL is wrong.
Affected
This is working as designed. The auto-release workflow creates channel releases at specific lifecycle points:
MokoJoomBackup only has development because no PR to main has been opened yet. The update XML correctly reflects only available channels.
The --skip-update-stream flag is correct since MokoGitea now generates updates.xml dynamically.
@jmiller
Release tags not created when licensing is enabledto updates.xml tag resolves to dev instead of developmentFixed. Joomla tag values are correct as shorthand (
dev,rc,alpha,beta,stable) per Joomla source code verification. The<tag>element maps viaSTABILITY_+strtoupper(tag)constants. Full names likedevelopmentwould silently fall back toSTABILITY_STABLE.Version extraction also fixed to use asset filename instead of release title.
@jmiller