Closed flcdrg closed 2 years ago
You can massage version in au_GetLatest.... for intance insert leading zero there.
You can eventally do it again in BeforeUpdate
ah.. cool. I'll give that a go!
Adding 0 will work but it will finish as a version. If that is big deal to you you revert it back in BeforeUpdate. I personally think its not a big deal.
I think adding the zero should work. Don't think I can get this working for the current versions, but the next EAP release hopefully will work.
I have a problem with some of the JetBrains packages when their prerelease versions go beyond EAP9.. eg.
Is there a way to intercept the version checking so that I can convert the semver1 versions to semver2, or inject my own comparison logic?
Once Chocolatey supports SemVer2 I can version these packages as EAP.9 and EAP.11 and they should compare correctly, but for now they're comparing EAP9 and EAP11 and the latter is sorted first, which is why it isn't updating.