updates.xml tag resolves to dev instead of development #475

Closed
opened 2026-06-04 19:08:07 +00:00 by jmiller · 2 comments
Owner

Bug

When licensing is enabled, the release tag in updates.xml resolves to development @ dev instead of development. MokoGitea is interpreting the tag incorrectly — it shortens development to dev in the download URL, which breaks Joomla's update system because the URL no longer points to a valid release asset.

Observed

  • Release tag name: development (correct)
  • updates.xml references the development tag
  • MokoGitea resolves the download URL using dev instead of development
  • Joomla update checker cannot find the package at the shortened URL

Expected

  • MokoGitea should use the full tag name development in the download URL, not shorten it to dev
  • Only the filename suffix should be shortened (e.g. pkg_mokobackup-01.01.06-dev.zip), not the tag in the URL path

Impact

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

  • MokoGitea release/tag URL resolution
  • Any Joomla repo using licensing + pre-release workflow with updates.xml
## Bug When licensing is enabled, the release tag in updates.xml resolves to `development @ dev` instead of `development`. MokoGitea is interpreting the tag incorrectly — it shortens `development` to `dev` in the download URL, which breaks Joomla's update system because the URL no longer points to a valid release asset. ## Observed - Release tag name: `development` (correct) - updates.xml references the `development` tag - MokoGitea resolves the download URL using `dev` instead of `development` - Joomla update checker cannot find the package at the shortened URL ## Expected - MokoGitea should use the full tag name `development` in the download URL, not shorten it to `dev` - Only the filename suffix should be shortened (e.g. `pkg_mokobackup-01.01.06-dev.zip`), not the tag in the URL path ## Impact **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 - MokoGitea release/tag URL resolution - Any Joomla repo using licensing + pre-release workflow with updates.xml
Author
Owner

This is working as designed. The auto-release workflow creates channel releases at specific lifecycle points:

  • development: push to dev (working)
  • release-candidate: PR opened targeting main (on demand)
  • stable: PR merged to main (on demand)
  • alpha/beta: manual promotion

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

This is working as designed. The auto-release workflow creates channel releases at specific lifecycle points: - development: push to dev (working) - release-candidate: PR opened targeting main (on demand) - stable: PR merged to main (on demand) - alpha/beta: manual promotion 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_
jmiller changed title from Release tags not created when licensing is enabled to updates.xml tag resolves to dev instead of development 2026-06-04 19:23:57 +00:00
Author
Owner

Fixed. Joomla tag values are correct as shorthand (dev, rc, alpha, beta, stable) per Joomla source code verification. The <tag> element maps via STABILITY_ + strtoupper(tag) constants. Full names like development would silently fall back to STABILITY_STABLE.

Version extraction also fixed to use asset filename instead of release title.

@jmiller

Fixed. Joomla tag values are correct as shorthand (`dev`, `rc`, `alpha`, `beta`, `stable`) per Joomla source code verification. The `<tag>` element maps via `STABILITY_` + `strtoupper(tag)` constants. Full names like `development` would silently fall back to `STABILITY_STABLE`. Version extraction also fixed to use asset filename instead of release title. _@jmiller_
Sign in to join this conversation.