From fdd8bf392f16e43ad4eb0be81f85f723be96f38e Mon Sep 17 00:00:00 2001 From: Tedi Mitiku Date: Fri, 9 Aug 2024 00:52:18 -0400 Subject: [PATCH] undo build script change --- cli/cli/scripts/build.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/cli/cli/scripts/build.sh b/cli/cli/scripts/build.sh index db8f5d7443..20f1c2893b 100755 --- a/cli/cli/scripts/build.sh +++ b/cli/cli/scripts/build.sh @@ -97,10 +97,9 @@ fi exit 1 fi # Executing goreleaser v1.26.2 without needing to install it -# if ! curl -sfL https://goreleaser.com/static/run | VERSION=v1.26.2 DISTRIBUTION=oss bash -s -- ${goreleaser_verb_and_flags}; then - if ! GORELEASER_CURRENT_TAG=$(cat $root_dirpath/version.txt) goreleaser ${goreleaser_verb_and_flags}; then - echo "Error: Couldn't build the CLI binary for the current OS/arch" >&2 - exit 1 + if ! curl -sfL https://goreleaser.com/static/run | VERSION=v1.26.2 DISTRIBUTION=oss bash -s -- ${goreleaser_verb_and_flags}; then + echo "Error: Couldn't build the CLI binary for the current OS/arch" >&2 + exit 1 fi )