mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2025-12-23 06:30:05 +00:00
* fix: use '/bin/sh' shebang and remove function key word * ci: check install.sh in nightly CI
15 lines
435 B
Bash
Executable File
15 lines
435 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
# Get the latest version of github.com/GreptimeTeam/greptimedb
|
|
VERSION=$(curl -s https://api.github.com/repos/GreptimeTeam/greptimedb/releases/latest | jq -r '.tag_name')
|
|
|
|
echo "Downloading the latest version: $VERSION"
|
|
|
|
# Download the install script
|
|
curl -fsSL https://raw.githubusercontent.com/greptimeteam/greptimedb/main/scripts/install.sh | sh -s $VERSION
|
|
|
|
# Execute the `greptime` command
|
|
./greptime --version
|