dcmeglio / hubitat-packagemanager

BSD 3-Clause "New" or "Revised" License
151 stars 56 forks source link

Beta code always trumps RTM code #109

Closed PrayerfulDrop closed 4 years ago

PrayerfulDrop commented 4 years ago

HPM does not take into account version differences between RTM and Beta. If RTM is a higher version number than the Beta that code should be deployed instead of the Beta branch. Also there is no way to install RTM code if the selection in settings is selected for pre-release code.

dcmeglio commented 4 years ago

Definitely a bug, it's actually supposed to grab the "release" version even if the version #'s equal.

dcmeglio commented 4 years ago

Headed down the rabbit hole... Discovered 2-3 related bugs, should have this fixed for the next version.

dcmeglio commented 4 years ago

Took a bunch of work (not sure how I ever thought that would work properly!) I wouldn't mind extra testing of the various changes, the code is available at https://raw.githubusercontent.com/dcmeglio/hubitat-packagemanager/1.5.0-dev/apps/Package_Manager.groovy