Skip to content

Commit 66e48f1

Browse files
committed
add livecheck probe so that I can run 'brew bump auto-multiple-choice'
Closes #99. Signed-off-by: Maël Valais <mael@vls.dev>
1 parent bd3e75b commit 66e48f1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Formula/auto-multiple-choice.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ class AutoMultipleChoice < Formula
44
url "https://download.auto-multiple-choice.net/amc_1.7.0_dist.tar.gz"
55
sha256 "dfb916aa076f668a6f35253a2c0fc5998db07d2273deb45295a405d8749b7660"
66

7+
livecheck do
8+
url "https://download.auto-multiple-choice.net"
9+
strategy :page_match
10+
regex(/amc_(\d+(?:\.\d+)+)_dist\.t/i)
11+
end
12+
713
bottle do
814
root_url "https://ghcr.io/v2/maelvls/amc"
915
sha256 arm64_sonoma: "2e82cac916e00b387a7ed5ca25c5e1b4aba37ef71c0a9a9039672886f6bce062"

0 commit comments

Comments
 (0)