I've written my own package (consisting of component and template) and set up a deploy server according to docs with a big help of jEvents source code.
When I choose "Install from URL" in my Joomla administration and type there URL of my pkg_update.xml file, it installs correctly both component and template alongside with the package and everything works. But when I deploy a new version of this package, the pkg_update.xml is updated, but Joomla does not suggest any update notice, even when I hit the "Find updates" button.
Thank you for any tip what to do.
XML file sources:
pkg_update.xml:
Code: Select all
<updates>
<update>
<name>Example package</name>
<description>...</description>
<element>pkg_example</element>
<type>package</type>
<client>site</client>
<version>a682bed2a</version>
<downloads>
<downloadurl type="full" format="zip">https://example.com/pkg_example-a682bed2a.zip</downloadurl>
<downloadurl type="upgrade" format="zip">https://example.com/pkg_example-a682bed2a.zip</downloadurl>
</downloads>
<tags>
<tag>stable</tag>
</tags>
<targetplatform name="joomla" version="3.*" />
</update>
</updates>
Code: Select all
<?xml version="1.0" encoding="UTF-8" ?>
<extension type="package" version="1.6" method="upgrade">
<packagename>example</packagename>
<name>Example package</name>
<description>...</description>
<creationDate>2018-11-02</creationDate>
<version>a682bed2a</version>
<files folder="packages">
<file type="component" id="com_example">com_example.zip</file>
<file type="template" id="tpl_example" client="site">tpl_example.zip</file>
</files>
<updateservers>
<server type="extension" name="BrontoPackage update">https://example.com/pkg_update.xml</server>
</updateservers>
</extension>