chore: log build command (#639)
This commit is contained in:
parent
272b60f050
commit
f2cec70d4c
4
build.sh
4
build.sh
@ -1,5 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
REPO_OWNER="yetone"
|
||||
REPO_NAME="avante.nvim"
|
||||
|
||||
@ -51,6 +53,8 @@ ARTIFACT_NAME_PATTERN="avante_lib-$PLATFORM-$ARCH-$LUA_VERSION"
|
||||
# Get the artifact download URL
|
||||
ARTIFACT_URL=$(curl -s "https://api.github.com/repos/yetone/avante.nvim/releases/latest" | grep "browser_download_url" | cut -d '"' -f 4 | grep $ARTIFACT_NAME_PATTERN)
|
||||
|
||||
set -x
|
||||
|
||||
mkdir -p "$TARGET_DIR"
|
||||
|
||||
curl -L "$ARTIFACT_URL" | tar -zxv -C "$TARGET_DIR"
|
||||
|
Loading…
x
Reference in New Issue
Block a user