diff --git a/octoprint_logmonitor/__init__.py b/octoprint_logmonitor/__init__.py index e7858af..533bb3c 100644 --- a/octoprint_logmonitor/__init__.py +++ b/octoprint_logmonitor/__init__.py @@ -1608,6 +1608,20 @@ def get_update_information(self): "user": "Ajimaru", "repo": "OctoPrint-LogMonitor", "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"], + } + ], "pip": ( "https://github.com/Ajimaru/OctoPrint-LogMonitor" "/archive/{target_version}.zip"