Skip to content

Commit da131a0

Browse files
committed
New Version 1.12.dev1
- B #135 using PEP440 verionnaming to prevent "update-notification-loop". Thx @wolph
1 parent 82d9dc0 commit da131a0

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
from octoprint.plugins.softwareupdate.version_checks import github_release
3+
4+
result = github_release._is_current(dict(
5+
local=dict(value="1.11.1-dev"),
6+
remote=dict(value="1.12.dev1")),
7+
"python", force_base=False )
8+
if (result):
9+
print("Locale Version is newer or equal")
10+
else:
11+
print("Remote Version is newer, update available")

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
plugin_name = "Print Job History"
1515

1616
# The plugin's version. Can be overwritten within OctoPrint's internal data via __plugin_version__ in the plugin module
17-
plugin_version = "1.11.1-dev"
17+
plugin_version = "1.12.dev1"
1818

1919
# The plugin's description. Can be overwritten within OctoPrint's internal data via __plugin_description__ in the plugin
2020
# module

0 commit comments

Comments
 (0)