Skip to content

Commit 7750eee

Browse files
committed
ci: fix bufix check (due to an error for version comparison)
1 parent 936bbc7 commit 7750eee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/config/install.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ function check_clickhouse_version()
3030
{
3131
local required_version=$1 && shift
3232
# ClickHouse local version 25.4.1.1.
33-
current_version=$(clickhouse --version | awk '{print $NF}')
33+
# ClickHouse local version 25.4.1.1 (official build).
34+
current_version=$(clickhouse --version | awk '{print $4}')
3435

3536
if [ "$(printf '%s\n' "$required_version" "$current_version" | sort -V | head -n1)" = "$required_version" ]; then
3637
echo "ClickHouse version $current_version is OK (>= $required_version)"

0 commit comments

Comments
 (0)