From 823731e94ca5a6d3fe71ed6c81edd531f81fbb5d Mon Sep 17 00:00:00 2001 From: Ajimaru Date: Wed, 2 Dec 2026 22:23:54 +0100 Subject: [PATCH] chore: add pre-release channel configuration for plugin updates --- octoprint_autoconnectplus/__init__.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/octoprint_autoconnectplus/__init__.py b/octoprint_autoconnectplus/__init__.py index 3063831..3763189 100644 --- a/octoprint_autoconnectplus/__init__.py +++ b/octoprint_autoconnectplus/__init__.py @@ -541,6 +541,16 @@ def get_update_information(self): user="ajimaru", repo="OctoPrint-AutoConnectPlus", 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=dict(name="Stable", branch="main", commitish=["main"]), + prerelease_branches=[ + dict( + name="Pre-release", + branch="prerelease", + commitish=["main", "dev"], + ) + ], pip=( "https://github.com/ajimaru/OctoPrint-AutoConnectPlus" "/archive/{target_version}.zip"