From b473b40f5e21cf690970b93a6aa1460d00f6e17f Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Tue, 17 Oct 2023 10:47:53 -0400 Subject: [PATCH] fix: fail on errors in shell scripts Without this, helm chart publishing silently ignores failures in CI, giving us a false sense of things actually working. --- scripts/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/build.sh b/scripts/build.sh index 7849bc7df..eb15fb268 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -1,4 +1,5 @@ #!/bin/bash +set -eo pipefail versionJQ=' def handle: .[] | [.version] | sort_by( split(".") | map(tonumber) ) | last ;