Skip to content

Commit

Permalink
add prerelease configuration to software update check for OctoPrint 1…
Browse files Browse the repository at this point in the history
….5.0+.
  • Loading branch information
jneilliii committed Oct 7, 2020
1 parent d4d2b04 commit 17ec337
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion octoprint_googledrivebackup/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,18 @@ def get_update_information(self):
user="jneilliii",
repo="OctoPrint-GoogleDriveBackup",
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-GoogleDriveBackup/archive/{target_version}.zip"
)
Expand Down

0 comments on commit 17ec337

Please sign in to comment.