forked from ClickHouse/homebrew-clickhouse
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update 23.12 to include upstream bugfix.
https://github.com/ClickHouse/ClickHouse/releases/tag/v23.12.4.15-stable ClickHouse/ClickHouse#59594
- Loading branch information
Showing
1 changed file
with
17 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,30 @@ | ||
class ClickhouseAT2312 < Formula | ||
Check warning on line 1 in Formula/[email protected] GitHub Actions / test-bot (macos, monterey, x64)[email protected]: Formula version newer than livecheck
Check failure on line 1 in Formula/[email protected] GitHub Actions / test-bot (macos, monterey, x64)
|
||
desc "Free analytics DBMS for big data with SQL interface" | ||
homepage "https://clickhouse.com" | ||
license "Apache-2.0" | ||
|
||
sha256 "30bcae2490fb5d9cdfd52ba9b25c4ad12efacc8882a6676a6a994e651c5aedee" | ||
url "https://github.com/ClickHouse/ClickHouse/releases/download/v23.12.2.59-stable/clickhouse-macos-aarch64", | ||
url "https://github.com/ClickHouse/ClickHouse/releases/download/v23.12.4.15-stable/clickhouse-macos-aarch64", | ||
verified: "github.com/ClickHouse/ClickHouse/" | ||
sha256 "4770192072bce7afdbc49f33e90e04154b360de94d0307fdff432996b5474bcb" | ||
license "Apache-2.0" | ||
|
||
livecheck do | ||
url :url | ||
regex(/^v?(\d+(?:\.\d+)+[._-](lts|stable))$/i) | ||
end | ||
|
||
def install | ||
Check warning on line 14 in Formula/[email protected] GitHub Actions / test-bot (macos, monterey, x64)`brew install --verbose --build-bottle vantage-sh/clickhouse/[email protected]` failed on macOS Monterey (12)!
|
||
system "chmod +x ./clickhouse-macos-aarch64" | ||
system "./clickhouse-macos-aarch64", "install", "--prefix", HOMEBREW_PREFIX, "--binary-path", prefix/"bin", "--user", "", "--group", "" | ||
chmod "+x", "./clickhouse-macos-aarch64" | ||
system( | ||
"./clickhouse-macos-aarch64", | ||
"install", | ||
"--prefix", | ||
HOMEBREW_PREFIX, | ||
"--binary-path", | ||
prefix/"bin", | ||
"--user", | ||
"", | ||
"--group", | ||
"", | ||
) | ||
|
||
# Relax the permissions when packaging. | ||
Dir.glob([ | ||
|