Skip to content

Commit

Permalink
redisinsight: update livecheck
Browse files Browse the repository at this point in the history
The existing `livecheck` block for `redisinsight` checks the Git tags
from the related GitHub repository, as the first-party website
doesn't publish version information. livecheck already uses the `Git`
strategy for the GitHub URL by default, so this `#strategy` call
isn't necessary.

This resolves the redundancy by updating the call to use the
`GithubLatest` strategy instead, as that is more likely to align with
releases on the first-party website. Besides that, it should also omit
unstable versions like `2.0.2-preview`, `2.0.2-preview-rc1`, etc.
that the existing approach is matching (without a strict regex).
  • Loading branch information
samford committed Jun 27, 2024
1 parent ce48ba7 commit 2e07396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Casks/r/redisinsight.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# GitHub releases as a best guess of when a new version is released.
livecheck do
url "https://github.com/RedisInsight/RedisInsight"
strategy :git
strategy :github_latest
end

auto_updates true
Expand Down

0 comments on commit 2e07396

Please sign in to comment.