Skip to content

Commit

Permalink
Update update_libchdb.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
auxten authored Feb 24, 2025
1 parent 9ecdb6d commit 6460f57
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions update_libchdb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
cd "$(dirname "$0")"

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

# Download the correct version based on the platform
case "$(uname -s)" in
Expand Down Expand Up @@ -48,4 +48,4 @@ tar -xzf libchdb.tar.gz
chmod +x libchdb.so

# Clean up
rm -f libchdb.tar.gz
rm -f libchdb.tar.gz

0 comments on commit 6460f57

Please sign in to comment.