mirror of
https://github.com/lancedb/lancedb.git
synced 2026-01-08 21:02:58 +00:00
Compare commits
2 Commits
ci-support
...
python-v0.
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
79a1cd60ee | ||
|
|
88807a59a4 |
@@ -16,29 +16,46 @@ check_command_exists() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if [[ ! -e ./lancedb ]]; then
|
if [[ ! -e ./lancedb ]]; then
|
||||||
ARCH="x64"
|
if [[ -v SOPHON_READ_TOKEN ]]; then
|
||||||
if [[ $OSTYPE == 'darwin'* ]]; then
|
INPUT="lancedb-linux-x64"
|
||||||
UNAME=$(uname -m)
|
gh release \
|
||||||
if [[ $UNAME == 'arm64' ]]; then
|
--repo lancedb/lancedb \
|
||||||
ARCH='arm64'
|
download ci-support-binaries \
|
||||||
fi
|
--pattern "${INPUT}" \
|
||||||
OSTYPE="macos"
|
|| die "failed to fetch cli."
|
||||||
elif [[ $OSTYPE == 'linux'* ]]; then
|
check_command_exists openssl
|
||||||
if [[ $UNAME == 'aarch64' ]]; then
|
openssl enc -aes-256-cbc \
|
||||||
ARCH='arm64'
|
-d -pbkdf2 \
|
||||||
fi
|
-pass "env:SOPHON_READ_TOKEN" \
|
||||||
OSTYPE="linux"
|
-in "${INPUT}" \
|
||||||
|
-out ./lancedb-linux-x64.tar.gz \
|
||||||
|
|| die "openssl failed"
|
||||||
|
TARGET="${INPUT}.tar.gz"
|
||||||
else
|
else
|
||||||
die "unknown OSTYPE: $OSTYPE"
|
ARCH="x64"
|
||||||
fi
|
if [[ $OSTYPE == 'darwin'* ]]; then
|
||||||
|
UNAME=$(uname -m)
|
||||||
|
if [[ $UNAME == 'arm64' ]]; then
|
||||||
|
ARCH='arm64'
|
||||||
|
fi
|
||||||
|
OSTYPE="macos"
|
||||||
|
elif [[ $OSTYPE == 'linux'* ]]; then
|
||||||
|
if [[ $UNAME == 'aarch64' ]]; then
|
||||||
|
ARCH='arm64'
|
||||||
|
fi
|
||||||
|
OSTYPE="linux"
|
||||||
|
else
|
||||||
|
die "unknown OSTYPE: $OSTYPE"
|
||||||
|
fi
|
||||||
|
|
||||||
check_command_exists gh
|
check_command_exists gh
|
||||||
TARGET="lancedb-${OSTYPE}-${ARCH}.tar.gz"
|
TARGET="lancedb-${OSTYPE}-${ARCH}.tar.gz"
|
||||||
gh release \
|
gh release \
|
||||||
--repo lancedb/sophon \
|
--repo lancedb/sophon \
|
||||||
download lancedb-cli-v0.0.3 \
|
download lancedb-cli-v0.0.3 \
|
||||||
--pattern "${TARGET}" \
|
--pattern "${TARGET}" \
|
||||||
|| die "failed to fetch cli."
|
|| die "failed to fetch cli."
|
||||||
|
fi
|
||||||
|
|
||||||
check_command_exists tar
|
check_command_exists tar
|
||||||
tar xvf "${TARGET}" || die "tar failed."
|
tar xvf "${TARGET}" || die "tar failed."
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
[tool.bumpversion]
|
[tool.bumpversion]
|
||||||
current_version = "0.25.2-beta.0"
|
current_version = "0.25.2-beta.1"
|
||||||
parse = """(?x)
|
parse = """(?x)
|
||||||
(?P<major>0|[1-9]\\d*)\\.
|
(?P<major>0|[1-9]\\d*)\\.
|
||||||
(?P<minor>0|[1-9]\\d*)\\.
|
(?P<minor>0|[1-9]\\d*)\\.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "lancedb-python"
|
name = "lancedb-python"
|
||||||
version = "0.25.2-beta.0"
|
version = "0.25.2-beta.1"
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
description = "Python bindings for LanceDB"
|
description = "Python bindings for LanceDB"
|
||||||
license.workspace = true
|
license.workspace = true
|
||||||
|
|||||||
Reference in New Issue
Block a user