Skip to content

Commit

Permalink
update knockout sortable library for OctoPrint 1.5.0 compatibility
Browse files Browse the repository at this point in the history
add release channels available in OctoPrint 1.5.0
  • Loading branch information
jneilliii committed Nov 10, 2020
1 parent 939d152 commit 93a8e75
Show file tree
Hide file tree
Showing 3 changed files with 502 additions and 2 deletions.
12 changes: 11 additions & 1 deletion octoprint_consolidate_temp_control/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def get_template_configs(self):

##-- AssetPlugin mixin
def get_assets(self):
return dict(js=["js/jquery-ui.min.js","js/knockout-sortable.js","js/consolidate_temp_control.js"])
return dict(js=["js/jquery-ui.min.js","js/knockout-sortable.1.2.0.js","js/consolidate_temp_control.js"])

##~~ Softwareupdate hook
def update_hook(self):
Expand All @@ -34,6 +34,16 @@ def update_hook(self):
user="jneilliii",
repo="OctoPrint-ConsolidateTempControl",
current=self._plugin_version,
stable_branch=dict(
name="Stable", branch="master", comittish=["master"]
),
prerelease_branches=[
dict(
name="Release Candidate",
branch="rc",
comittish=["rc", "master"],
)
],

# update method: pip
pip="https://github.com/jneilliii/OctoPrint-ConsolidateTempControl/archive/{target_version}.zip"
Expand Down
Loading

0 comments on commit 93a8e75

Please sign in to comment.