Skip to content

Commit 436c0bd

Browse files
committed
fix: update livecheck url to :stable
1 parent e115c9f commit 436c0bd

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

Formula/maa-cli-beta.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class MaaCliBeta < Formula
66
license "AGPL-3.0-only"
77

88
livecheck do
9-
url :url
9+
url :stable
1010
regex(/^v?(\d+\.\d+\.\d+(?:-(?:beta|rc)\.\d+)?)$/i)
1111
end
1212

Formula/maa-cli.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ class MaaCli < Formula
55
sha256 "f9d59f66b4823cdebe8d98399d5c20c72085038ae8d4434000900bf74a3d2aeb"
66
license "AGPL-3.0-only"
77

8+
livecheck do
9+
url :stable
10+
regex(/^v?(\d+\.\d+\.\d+)$/i)
11+
end
12+
813
bottle do
914
root_url "https://github.com/MaaAssistantArknights/homebrew-tap/releases/download/maa-cli-0.5.1"
1015
sha256 cellar: :any, arm64_sequoia: "c42c25d7b5cd14b7d49082223b0d1a9c3aa4c21d3381ea84d584922bf0a71493"

Formula/maa-core-beta.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class MaaCoreBeta < Formula
66
license "AGPL-3.0-only"
77

88
livecheck do
9-
url :url
9+
url :stable
1010
regex(/^v?(\d+\.\d+\.\d+(?:-(?:beta|rc)\.\d+)?)$/i)
1111
end
1212

Formula/maa-core.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class MaaCore < Formula
66
license "AGPL-3.0-only"
77

88
livecheck do
9-
url :url
9+
url :stable
1010
regex(/^v?(\d+\.\d+\.\d+)$/i)
1111
end
1212

0 commit comments

Comments
 (0)