Skip to content

Commit

Permalink
victorialogs: update url and livecheck
Browse files Browse the repository at this point in the history
Formula/v/victorialogs.rb: fixed url, sha256 and regexp for a proper matching VictoriaLogs tag from main monorepo

apply suggestion

update regex

Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
denisgolius authored and chenrui333 committed Dec 14, 2024
1 parent d71e0a5 commit 0fdb7aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Formula/v/victorialogs.rb
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
class Victorialogs < Formula
desc "Open source user-friendly database for logs from VictoriaMetrics"
homepage "https://docs.victoriametrics.com/victorialogs/"
url "https://github.com/VictoriaMetrics/VictoriaMetrics/archive/refs/tags/v1.107.0.tar.gz"
sha256 "e42278a77d4e20a86e38cc9581541f64c7a84318c7ac47a95257c148ac2e3221"
url "https://github.com/VictoriaMetrics/VictoriaMetrics/archive/refs/tags/v1.3.2-victorialogs.tar.gz"
sha256 "efefc27abbab85dd3126201665a28fca04cf14250fb34e9a1bf93b1715382972"
license "Apache-2.0"

# There are tags like `pmm-6401-v1.89.1` in the upstream repo. They don't
# actually represent releases, despite referring to one in the tag name.
# Make sure we only match the ones using the common format.
livecheck do
url :stable
regex(/^v?(\d+(?:\.\d+)+)$/i)
regex(/^v?(\d+(?:\.\d+)+)[._-]victorialogs$/i)
end

bottle do
Expand Down

0 comments on commit 0fdb7aa

Please sign in to comment.