kubernetes-sigs / zeitgeist

Zeitgeist: the language-agnostic dependency checker
https://godoc.org/sigs.k8s.io/zeitgeist
Apache License 2.0
181 stars 23 forks source link

Use semver.parseTolerant #1033

Closed Pluies closed 3 weeks ago

Pluies commented 3 weeks ago

What type of PR is this?

/kind bug

What this PR does / why we need it:

Use semver.ParseTolerant to check if the latest version is newer than the current version, matching the behaviour used to pick the latest version in the first place.

Which issue(s) this PR fixes:

Fixes #859

k8s-ci-robot commented 3 weeks ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Pluies, saschagrunert

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/kubernetes-sigs/zeitgeist/blob/master/OWNERS)~~ [Pluies,saschagrunert] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment