Skip to content

Commit

Permalink
undo build script change
Browse files Browse the repository at this point in the history
  • Loading branch information
tedim52 committed Aug 9, 2024
1 parent 929f4b2 commit fdd8bf3
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions cli/cli/scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
)

Expand Down

0 comments on commit fdd8bf3

Please sign in to comment.