From bae5e0cf467575f210a924a67465818a21d00b4b Mon Sep 17 00:00:00 2001 From: Matej Vukosav Date: Fri, 20 Dec 2024 01:11:46 +1100 Subject: [PATCH] fix: installation script download url (#1023) --- scripts/install-meroctl.sh | 4 ++-- scripts/install-merod.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/install-meroctl.sh b/scripts/install-meroctl.sh index 945efac6a..bd0ffc29b 100755 --- a/scripts/install-meroctl.sh +++ b/scripts/install-meroctl.sh @@ -1,7 +1,7 @@ #!/bin/bash BINARY_NAME="meroctl" -VERSION="v0.2.0" +VERSION="0.2.0" REPO="calimero-network/core" INSTALL_DIR="$HOME/.local/bin" @@ -29,7 +29,7 @@ fi # Construct download URL TARBALL_NAME="${BINARY_NAME}_${ARCH}-${PLATFORM}.tar.gz" -DOWNLOAD_URL="https://github.com/$REPO/releases/download/$VERSION/$TARBALL_NAME" +DOWNLOAD_URL="https://github.com/$REPO/releases/download/meroctl-$VERSION/$TARBALL_NAME" # Ensure installation directory exists mkdir -p "$INSTALL_DIR" diff --git a/scripts/install-merod.sh b/scripts/install-merod.sh index bde848cce..f329c0f88 100755 --- a/scripts/install-merod.sh +++ b/scripts/install-merod.sh @@ -1,7 +1,7 @@ #!/bin/bash BINARY_NAME="merod" -VERSION="v0.2.1" +VERSION="0.2.1" REPO="calimero-network/core" INSTALL_DIR="$HOME/.local/bin" @@ -29,7 +29,7 @@ fi # Construct download URL TARBALL_NAME="${BINARY_NAME}_${ARCH}-${PLATFORM}.tar.gz" -DOWNLOAD_URL="https://github.com/$REPO/releases/download/$VERSION/$TARBALL_NAME" +DOWNLOAD_URL="https://github.com/$REPO/releases/download/merod-$VERSION/$TARBALL_NAME" # Ensure installation directory exists mkdir -p "$INSTALL_DIR"