Skip to content

Commit

Permalink
chore: install aligned form latest t ag
Browse files Browse the repository at this point in the history
  • Loading branch information
JuArce committed Oct 2, 2024
1 parent ba808d2 commit b309214
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions batcher/aligned/install_aligned.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,12 @@ BASE_DIR=$HOME
ALIGNED_DIR="${ALIGNED_DIR-"$BASE_DIR/.aligned"}"
ALIGNED_BIN_DIR="$ALIGNED_DIR/bin"
ALIGNED_BIN_PATH="$ALIGNED_BIN_DIR/aligned"
#CURRENT_TAG=$(curl -s -L \
# -H "Accept: application/vnd.github+json" \
# -H "X-GitHub-Api-Version: 2022-11-28" \
# https://api.github.com/repos/yetanotherco/aligned_layer/releases/latest \
# | grep '"tag_name":' | awk -F'"' '{print $4}')
CURRENT_TAG=v0.6.0
CURRENT_TAG=$(curl -s -L \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/yetanotherco/aligned_layer/releases/latest \
| grep '"tag_name":' | awk -F'"' '{print $4}')
RELEASE_URL="https://github.com/yetanotherco/aligned_layer/releases/download/$CURRENT_TAG/"

ARCH=$(uname -m)

if [ "$ARCH" == "x86_64" ]; then
Expand Down

0 comments on commit b309214

Please sign in to comment.