Skip to content

Commit

Permalink
fix: installation script download url (#1023)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatejVukosav authored Dec 19, 2024
1 parent 07bd91c commit bae5e0c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions scripts/install-meroctl.sh
Original file line number Diff line number Diff line change
@@ -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"

Expand Down Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions scripts/install-merod.sh
Original file line number Diff line number Diff line change
@@ -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"

Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit bae5e0c

Please sign in to comment.