Hi,
I like to have a release channel for stable releases and a development channel with an update trigger for every commit to distribute the actual dev version to my (or in case of an issue a plugin users) physical Octoprint instance for final testing. Is that possible? Could not find any documentation regarding this combination.
That I tried...
# SECTION: software update hook
def get_update_information(self):
return dict(
SlicerEstimator=dict(
displayName=self._plugin_name,
displayVersion=self._plugin_version,
# version check: github repository
type="github_release",
user="NilsRo",
repo="OctoPrint-SlicerEstimator",
current=self._plugin_version,
# stable release
stable_branch=dict(
name="Stable",
branch="master",
comittish=["master"]
),
# development version
prerelease_branches=[
dict(
name="Development",
branch="Development",
type="github_commit",
pip="https://github.com/NilsRo/OctoPrint-SlicerEstimator/archive/refs/heads/Development.zip"
)
],
# update method: pip
pip="https://github.com/NilsRo/OctoPrint-SlicerEstimator/archive/{target_version}.zip"
)
)
https://docs.octoprint.org/en/master/bundledplugins/softwareupdate.html#version-checks
Cheers,
Nils