From c660c57b6fdc0cf0f95646ebfa88211ba994fc55 Mon Sep 17 00:00:00 2001 From: Anatolios Laskaris Date: Wed, 8 Feb 2023 16:05:19 +0200 Subject: [PATCH] chore: Hardcode marine version (#419) * Hardcode marine version * Hardcode --- .github/download_marine.sh | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/download_marine.sh b/.github/download_marine.sh index c7609aa..5f70dc6 100755 --- a/.github/download_marine.sh +++ b/.github/download_marine.sh @@ -2,13 +2,5 @@ set -o pipefail -o errexit -o nounset set -x -MARINE_RELEASE="https://api.github.com/repos/fluencelabs/marine/releases/latest" -OUT_DIR=/usr/local/bin - -# get metadata about release -curl -s -H "Accept: application/vnd.github.v3+json" $MARINE_RELEASE | - # extract url and name for asset with name "marine" - # also append $OUT_DIR to each name so file is saved to $OUT_DIR - jq -r ".assets | .[] | select(.name == \"marine\") | \"\(.browser_download_url) $OUT_DIR/\(.name)\"" | - # download assets - xargs -n2 bash -c 'curl -L $0 -o $1 && chmod +x $1' +MARINE_RELEASE="https://github.com/fluencelabs/marine/releases/download/marine-v0.12.6/marine" +curl -sS -L $MARINE_RELEASE -o /usr/local/bin/marine && chmod +x /usr/local/bin/marine