new ipfs binary

master
Melroy van den Berg 2021-02-26 18:03:13 +01:00
parent 3b8cdc7a63
commit 6376562e32
3 changed files with 14 additions and 8 deletions

Binary file not shown.

View File

@ -1,8 +0,0 @@
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
# Download & untar Go-IPFS
wget --quiet -O "$DIR/go-ipfs.tar.gz" "https://dist.ipfs.io/go-ipfs/v0.7.0/go-ipfs_v0.7.0_linux-amd64.tar.gz"
tar -xvzf "$DIR/go-ipfs.tar.gz" -C "$DIR/../"
# Clean-up
rm -rf "$DIR/go-ipfs.tar.gz"

14
scripts/get_ipfs.sh Executable file
View File

@ -0,0 +1,14 @@
#!/bin/bash
IPFS_VERSION=0.8.0
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
echo "INFO: Start downloading..."
# Download & untar Go-IPFS
wget --quiet "https://dist.ipfs.io/go-ipfs/v${IPFS_VERSION}/go-ipfs_v${IPFS_VERSION}_linux-amd64.tar.gz" -O "$CURRENT_DIR/go-ipfs.tar.gz"
echo "INFO: Extracting Go IPFS..."
# Extract on root level of the git repo
tar -xvzf "$CURRENT_DIR/go-ipfs.tar.gz" -C "$CURRENT_DIR/../"
echo "INFO: Clean up"
# Clean-up
rm -rf "$CURRENT_DIR/go-ipfs.tar.gz"