Public Access
60 lines
2.5 KiB
XML
60 lines
2.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
|
|
|
This file is part of a Moko Consulting project.
|
|
|
|
SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
FILE INFORMATION
|
|
DEFGROUP: MokoStandards.Templates.Joomla
|
|
INGROUP: MokoStandards.Templates
|
|
REPO: https://git.mokoconsulting.tech/mokoconsulting-tech/MokoStandards-API
|
|
PATH: /templates/joomla/updates.xml.template
|
|
VERSION: XX.YY.ZZ
|
|
BRIEF: Joomla update server XML template — lists available extension releases for Joomla auto-updates
|
|
|
|
NOTE: Dual-platform: Gitea (primary) and GitHub (backup mirror).
|
|
The manifest.xml <updateservers> must declare both servers.
|
|
Tokens replaced at sync time: {{REPO_NAME}}, {{GITEA_ORG}}, {{GITHUB_ORG}},
|
|
{{EXTENSION_NAME}}, {{EXTENSION_TYPE}}, {{EXTENSION_ELEMENT}}, {{VERSION}},
|
|
{{MAINTAINER_URL}}
|
|
-->
|
|
<!--
|
|
Joomla Extension Update Server XML
|
|
See: https://docs.joomla.org/Deploying_an_Update_Server
|
|
|
|
This file is the update server manifest for {{EXTENSION_NAME}}.
|
|
The Joomla installer polls this URL to check for new versions.
|
|
|
|
The manifest.xml in this repository must reference BOTH update servers:
|
|
<updateservers>
|
|
<server type="extension" priority="1" name="{{EXTENSION_NAME}} Update Server (Gitea)">
|
|
https://git.mokoconsulting.tech/{{GITEA_ORG}}/{{REPO_NAME}}/raw/branch/main/updates.xml
|
|
</server>
|
|
<server type="extension" priority="2" name="{{EXTENSION_NAME}} Update Server (GitHub)">
|
|
https://raw.githubusercontent.com/{{GITHUB_ORG}}/{{REPO_NAME}}/main/updates.xml
|
|
</server>
|
|
</updateservers>
|
|
|
|
When a new release is made, run `make release` or the release workflow to
|
|
prepend a new <update> entry to this file automatically.
|
|
-->
|
|
<updates>
|
|
<update>
|
|
<name>{{EXTENSION_NAME}}</name>
|
|
<description>{{REPO_NAME}} — Moko Consulting Joomla extension</description>
|
|
<element>{{EXTENSION_ELEMENT}}</element>
|
|
<type>{{EXTENSION_TYPE}}</type>
|
|
<version>{{VERSION}}</version>
|
|
<downloads>
|
|
<downloadurl type="full" format="zip">https://git.mokoconsulting.tech/{{GITEA_ORG}}/{{REPO_NAME}}/releases/download/v{{VERSION}}/{{EXTENSION_ELEMENT}}.zip</downloadurl>
|
|
<downloadurl type="full" format="zip">https://github.com/{{GITHUB_ORG}}/{{REPO_NAME}}/releases/download/v{{VERSION}}/{{EXTENSION_ELEMENT}}.zip</downloadurl>
|
|
</downloads>
|
|
<targetplatform name="joomla" version="((5\.[0-9])|(6\.[0-9]))" />
|
|
<php_minimum>8.2</php_minimum>
|
|
<maintainer>Moko Consulting</maintainer>
|
|
<maintainerurl>{{MAINTAINER_URL}}</maintainerurl>
|
|
</update>
|
|
</updates>
|