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"