Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
feat: add script to download the latest webui release
Browse files Browse the repository at this point in the history
  • Loading branch information
guanzo committed Jun 14, 2022
1 parent 75212d1 commit 72267b8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/download-webui.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash

# Downloads latest release
url=$(curl -s https://api.github.com/repos/filecoin-project/saturn-l2-webui/releases/latest | \
jq -r '.assets[] | select(.name|match("saturn-l2-webui.tar.gz$")) | .browser_download_url')

curl -L $url | tar -zx -C ../resources/webui/

0 comments on commit 72267b8

Please sign in to comment.