Skip to content

Commit c9827f2

Browse files
authored
Update install_libchdb.sh
1 parent bf2d7c6 commit c9827f2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

install_libchdb.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ download_and_extract() {
2929
}
3030

3131
# Get the newest release version
32-
LATEST_RELEASE=$(curl --silent "https://api.github.com/repos/chdb-io/chdb/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
32+
LATEST_RELEASE=$(curl --silent "https://api.github.com/repos/chdb-io/chdb-core/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
3333

3434
# Select the correct package based on OS and architecture
3535
case "$(uname -s)" in
@@ -54,8 +54,8 @@ case "$(uname -s)" in
5454
esac
5555

5656
# Main download URL
57-
DOWNLOAD_URL="https://github.com/chdb-io/chdb/releases/download/$LATEST_RELEASE/$PLATFORM"
58-
FALLBACK_URL="https://github.com/chdb-io/chdb/releases/latest/download/$PLATFORM"
57+
DOWNLOAD_URL="https://github.com/chdb-io/chdb-core/releases/download/$LATEST_RELEASE/$PLATFORM"
58+
FALLBACK_URL="https://github.com/chdb-io/chdb-core/releases/latest/download/$PLATFORM"
5959

6060
# Try the main download URL first
6161
if ! download_and_extract "$DOWNLOAD_URL"; then

0 commit comments

Comments
 (0)