Skip to content

Commit

Permalink
Update 23.12 to include upstream bugfix.
Browse files Browse the repository at this point in the history
  • Loading branch information
conner committed Feb 19, 2024
1 parent 4170816 commit 85e4bb0
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions Formula/clickhouse@23.12.rb
Expand Up @@ -3,18 +3,29 @@ class ClickhouseAT2312 < Formula
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",

Check failure on line 6 in Formula/clickhouse@23.12.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos, monterey, arm64)

FormulaAudit/ComponentsOrder: `url` (line 6) should be put before `license` (line 4)

Check failure on line 6 in Formula/clickhouse@23.12.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos, monterey, x64)

FormulaAudit/ComponentsOrder: `url` (line 6) should be put before `license` (line 4)
verified: "github.com/ClickHouse/ClickHouse/"
sha256 "4770192072bce7afdbc49f33e90e04154b360de94d0307fdff432996b5474bcb"

livecheck do
url :url
regex(/^v?(\d+(?:\.\d+)+[._-](lts|stable))$/i)
end

def install
system "chmod +x ./clickhouse-macos-aarch64"
system "./clickhouse-macos-aarch64", "install", "--prefix", HOMEBREW_PREFIX, "--binary-path", prefix/"bin", "--user", "", "--group", ""
system "chmod", "+x", "./clickhouse-macos-aarch64"

Check failure on line 16 in Formula/clickhouse@23.12.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos, monterey, arm64)

FormulaAudit/Miscellaneous: Use the `chmod` Ruby method instead of `system "chmod", "+x", "./clickhouse-macos-aarch64"`

Check failure on line 16 in Formula/clickhouse@23.12.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos, monterey, x64)

FormulaAudit/Miscellaneous: Use the `chmod` Ruby method instead of `system "chmod", "+x", "./clickhouse-macos-aarch64"`
system(
"./clickhouse-macos-aarch64",
"install",
"--prefix",
HOMEBREW_PREFIX,
"--binary-path",
prefix/"bin",
"--user",
"",
"--group",
""

Check failure on line 27 in Formula/clickhouse@23.12.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos, monterey, arm64)

Style/TrailingCommaInArguments: Put a comma after the last parameter of a multiline method call.

Check failure on line 27 in Formula/clickhouse@23.12.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos, monterey, x64)

Style/TrailingCommaInArguments: Put a comma after the last parameter of a multiline method call.
)

# Relax the permissions when packaging.
Dir.glob([
Expand Down

0 comments on commit 85e4bb0

Please sign in to comment.