diff --git a/octoprint_temp_eta/__init__.py b/octoprint_temp_eta/__init__.py index 4b65e3d..aa9ef2c 100644 --- a/octoprint_temp_eta/__init__.py +++ b/octoprint_temp_eta/__init__.py @@ -2428,6 +2428,20 @@ def get_update_information(self): "user": "Ajimaru", "repo": "OctoPrint-TempETA", "current": self._plugin_version, + # Pre-releases are offered only on the pre-release channel; its key must + # differ from the stable branch, or OctoPrint treats the channel as stable. + "stable_branch": { + "name": "Stable", + "branch": "main", + "commitish": ["main"], + }, + "prerelease_branches": [ + { + "name": "Pre-release", + "branch": "prerelease", + "commitish": ["main", "dev"], + } + ], # update method: pip "pip": "https://github.com/Ajimaru/OctoPrint-TempETA/archive/{target_version}.zip", }