Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Randomly check for krew updates #494
This is an alternate implementation of #490. The goal here is to simplify the feature. Instead of saving the timestamp of the last update check, the checks are now done at random with a probability of 40% per run. In addition, no checks are done for development builds.
As this is a convenience function, silently ignore errors if they occur.
@@ Coverage Diff @@ ## master #494 +/- ## ========================================= + Coverage 57% 58.21% +1.2% ========================================= Files 21 22 +1 Lines 956 974 +18 ========================================= + Hits 545 567 +22 + Misses 357 351 -6 - Partials 54 56 +2
(Closed by mistake)
I've encountered this: On local builds, it prints
I guess this is expected, because, technically, pre-release tags are LessThan their tags.
[APPROVALNOTIFIER] This PR is APPROVED
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:
Approvers can indicate their approval by writing