Skip to content

Commit

Permalink
Update download.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
azat-ismagilov authored Nov 27, 2023
1 parent d7048f4 commit 83c723d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cloud-instance-docker/download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ USER=icpc
REPO=live-v3

# git clone https://github.com/$USER/$REPO.git /app/workspace/live-v3
ASSET_URL=$(curl -s https://api.github.com/repos/$USER/$REPO/releases/latest | grep "browser_download_url" | grep "live-v3.*live-v3.*.jar" | cut -d : -f 2,3 | tr -d \")
curl -L -o /app/workspace/live.jar $ASSET_URL
# ASSET_URL=$(curl -s https://api.github.com/repos/$USER/$REPO/releases/latest | grep "browser_download_url" | grep "live-v3.*live-v3.*.jar" | cut -d : -f 2,3 | tr -d \")
# curl -L -o /app/workspace/live.jar $ASSET_URL

echo "{}" > /app/workspace/creds.json

0 comments on commit 83c723d

Please sign in to comment.