Skip to content

Commit

Permalink
chore: update to thin-edge.io 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
reubenmiller committed Aug 1, 2024
1 parent 5079462 commit 1ec470e
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,25 +33,26 @@ fi
# Download tedge
cd ../../

TEDGE_VERSION="1.1.2-rc139+g4e94ab6"
TEDGE_VERSION="1.2.0"
TEDGE_CHANNEL=release
case "$TARGET" in
aarch64-linux-musl)
TEDGE_URL="https://dl.cloudsmith.io/public/thinedge/tedge-main/raw/names/tedge-arm64/versions/$TEDGE_VERSION/tedge.tar.gz"
TEDGE_URL="https://dl.cloudsmith.io/public/thinedge/tedge-${TEDGE_CHANNEL}/raw/names/tedge-arm64/versions/$TEDGE_VERSION/tedge.tar.gz"
;;
arm-linux-musleabihf)
TEDGE_URL="https://dl.cloudsmith.io/public/thinedge/tedge-main/raw/names/tedge-armv7/versions/$TEDGE_VERSION/tedge.tar.gz"
TEDGE_URL="https://dl.cloudsmith.io/public/thinedge/tedge-${TEDGE_CHANNEL}/raw/names/tedge-armv7/versions/$TEDGE_VERSION/tedge.tar.gz"
;;
arm-linux-musleabi)
TEDGE_URL="https://dl.cloudsmith.io/public/thinedge/tedge-main/raw/names/tedge-armv5/versions/$TEDGE_VERSION/tedge.tar.gz"
TEDGE_URL="https://dl.cloudsmith.io/public/thinedge/tedge-${TEDGE_CHANNEL}/raw/names/tedge-armv5/versions/$TEDGE_VERSION/tedge.tar.gz"
;;
x86_64-linux)
TEDGE_URL="https://dl.cloudsmith.io/public/thinedge/tedge-main/raw/names/tedge-amd64/versions/$TEDGE_VERSION/tedge.tar.gz"
TEDGE_URL="https://dl.cloudsmith.io/public/thinedge/tedge-${TEDGE_CHANNEL}/raw/names/tedge-amd64/versions/$TEDGE_VERSION/tedge.tar.gz"
;;
x86-linux)
TEDGE_URL="https://dl.cloudsmith.io/public/thinedge/tedge-main/raw/names/tedge-i386/versions/$TEDGE_VERSION/tedge.tar.gz"
TEDGE_URL="https://dl.cloudsmith.io/public/thinedge/tedge-${TEDGE_CHANNEL}/raw/names/tedge-i386/versions/$TEDGE_VERSION/tedge.tar.gz"
;;
riscv64-linux)
TEDGE_URL="https://dl.cloudsmith.io/public/thinedge/tedge-main/raw/names/tedge-riscv64/versions/$TEDGE_VERSION/tedge.tar.gz"
TEDGE_URL="https://dl.cloudsmith.io/public/thinedge/tedge-${TEDGE_CHANNEL}/raw/names/tedge-riscv64/versions/$TEDGE_VERSION/tedge.tar.gz"
;;
*)
echo "Unsupported target. No thin-edge.io binary is available for this target. $TARGET" >&2
Expand Down

0 comments on commit 1ec470e

Please sign in to comment.