From 1fa5fda428740cf91f68c7ad25dc157dfa861b5f Mon Sep 17 00:00:00 2001 From: Ajimaru Date: Wed, 2 Dec 2026 22:24:36 +0100 Subject: [PATCH] chore: add stable and pre-release branch configuration for plugin versioning --- octoprint_logmonitor/__init__.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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"