From 62a9743aa04e950b205d742c6024c7ab727fd6f1 Mon Sep 17 00:00:00 2001 From: Ahmed Elsabbahy Date: Mon, 25 Mar 2024 14:06:17 -0700 Subject: [PATCH] Point install.sh to latest binary (#889) closes #878 --- install.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 365a8be3b..d1c8d8c26 100644 --- a/install.sh +++ b/install.sh @@ -3,9 +3,8 @@ { set -e -# LATEST_URL="https://github.com/goss-org/goss/releases/latest" -# LATEST_EFFECTIVE=$(curl -s -L -o /dev/null ${LATEST_URL} -w '%{url_effective}') -LATEST_EFFECTIVE=https://github.com/goss-org/goss/releases/tag/v0.3.23 +LATEST_URL="https://github.com/goss-org/goss/releases/latest" +LATEST_EFFECTIVE=$(curl -s -L -o /dev/null ${LATEST_URL} -w '%{url_effective}') LATEST=${LATEST_EFFECTIVE##*/} DGOSS_VER=$GOSS_VER