docker-lbrynet/scripts/get_release.sh

14 lines
281 B
Bash
Raw Normal View History

#!/bin/bash
URL=$(
curl -si https://api.github.com/repos/lbryio/lbry/releases/latest|
grep browser_download_url|
sed -E 's/.*"([^"]+)".*/\1/'|
grep linux
)
echo "Getting the latest release from $URL..."
curl -sOL $URL
unzip lbrynet-linux.zip
rm lbrynet-linux.zip