Atreidae / BounShell

Its BounSky, but for Office365 PowerShell
MIT License
3 stars 3 forks source link

SemVer version detection is flawed. #24

Open Atreidae opened 4 years ago

Atreidae commented 4 years ago

Due to the way I'm doing detection the auto-updater thinks that older versions are actually newer than newer versions.

Running build 0.70 locally with 0.6.5 published causes a bugfix notification to appear as the last digit is lower than the middle digit.

PS gallery mandates we use SemVer. but I need to figure out what best practice on that last number is. do I just increment it forever or should I be resetting it each release?

Atreidae commented 4 years ago

https://semver.org/ seems to infer that the number can be reset. So I'm just going to fix the code.