updateSite.xml not triggering update
Posted: Thu Apr 22, 2021 2:01 am
Hi there,
I'm trying to create a very simple framework, packaged as an add-on, and distribute it using GitHub Releases. I'm able to package it and release it perfectly well; downloading the add-on works, too, but the add on won't update: I've tried manually checking for updates as well as restarting oXygen and checking again, but it always says that an update isn't available.
I have a process whereby on every push event, GitHub actions creates the add on ZIP file and updates the version number for both the zip and the add on version by appending the `current-dateTime()` to the base version number; that ZIP file and the updateSite.xml are pushed as release assets into GitHub (so framework-0.1.0.1.202104211525141240700.zip, for instance). A user installs the plugin by using the /releases/latest/ version of update site:
https://github.com/username/repository/ ... teSite.xml
Which has something like this in it:
I'm not sure what's happening behind the scenes, though, in terms of how oXygen is determining what the new version is, so any advice on what I might be doing wrong is very much appreciated!
Thanks,
Joey
I'm trying to create a very simple framework, packaged as an add-on, and distribute it using GitHub Releases. I'm able to package it and release it perfectly well; downloading the add-on works, too, but the add on won't update: I've tried manually checking for updates as well as restarting oXygen and checking again, but it always says that an update isn't available.
I have a process whereby on every push event, GitHub actions creates the add on ZIP file and updates the version number for both the zip and the add on version by appending the `current-dateTime()` to the base version number; that ZIP file and the updateSite.xml are pushed as release assets into GitHub (so framework-0.1.0.1.202104211525141240700.zip, for instance). A user installs the plugin by using the /releases/latest/ version of update site:
https://github.com/username/repository/ ... teSite.xml
Which has something like this in it:
Code: Select all
<xt:location href="https://github.com/user/repository/releases/latest/download/framework-0.1.202104211525141240700.zip"/>
<xt:version>0.1.202104211525141240700</xt:version>
Thanks,
Joey