We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 782a8c1 commit 7bf48eeCopy full SHA for 7bf48ee
lib/update_libchdb.sh
@@ -1,6 +1,13 @@
1
-
2
#!/bin/bash
3
+# This script will download the latest libchdb release from GitHub and extract
4
+# the libchdb.so file to the current directory. This script is intended to be
5
+# used by the build process to ensure that the latest version of libchdb is
6
+# used.
7
+
8
+# Change directory to the script's directory
9
+cd "$(dirname "$0")"
10
11
# Get the newest release version
12
LATEST_RELEASE=$(curl --silent "https://api.github.com/repos/chdb-io/chdb/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
13
0 commit comments