Skip to content

Commit 06161e6

Browse files
authored
Merge pull request Homebrew#194408 from Homebrew/argtable3-add-livecheck
argtable3: add livecheck
2 parents 1385f27 + 8f0699c commit 06161e6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Formula/a/argtable3.rb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ class Argtable3 < Formula
77
license "BSD-3-Clause"
88
head "https://github.com/argtable/argtable3.git", branch: "master"
99

10+
# Upstream uses a tag format including a version and hash (e.g.
11+
# `v3.2.2.f25c624`) and we only use the version part in the formula, so this
12+
# omits the hash part to match.
13+
livecheck do
14+
url :stable
15+
regex(/^v?(\d+(?:\.\d+)+)(?:\.\h+)?$/i)
16+
end
17+
1018
bottle do
1119
sha256 cellar: :any, arm64_sequoia: "977cc6d2b39d50551e00be1cb664891ba886e3e63779769713815ab5c830d4f7"
1220
sha256 cellar: :any, arm64_sonoma: "59140a12791b4cd3733fd383bbd91373d517ed6a22dded4ae9e74b8fd2039844"

0 commit comments

Comments
 (0)