From 27622ca59f75f11007dcde3ee8c0c202b1d4b912 Mon Sep 17 00:00:00 2001 From: Maciej Winnicki Date: Mon, 23 Apr 2018 14:09:28 +0200 Subject: [PATCH] fix installation script (update artifact format). Closes #409 --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index c72fcc1..f7824ca 100644 --- a/install.sh +++ b/install.sh @@ -271,7 +271,7 @@ EOF OWNER=serverless REPO=event-gateway BINARY=event-gateway -FORMAT=tar.gz +FORMAT=zip OS=$(uname_os) ARCH=$(uname_arch) PREFIX="$OWNER/$REPO" @@ -298,7 +298,7 @@ echo "$PREFIX: found version ${VERSION} for ${OS}/${ARCH}" NAME=${BINARY}_${VERSION}_${OS}_${ARCH} TARBALL=${NAME}.${FORMAT} TARBALL_URL=${GITHUB_DOWNLOAD}/${VERSION}/${TARBALL} -CHECKSUM=${BINARY}_checksums.txt +CHECKSUM=${BINARY}_${VERSION}_checksums.txt CHECKSUM_URL=${GITHUB_DOWNLOAD}/${VERSION}/${CHECKSUM} # Adjust binary name if windows