Skip to content

Commit 986f7e2

Browse files
tedim52claude
andcommitted
fix(build): remove -f flag from goreleaser curl to avoid blocking GitHub Pages upload
The -f (fail) flag on the curl command was causing the script to exit with non-zero status on HTTP errors, which blocked the GitHub Pages workflow from completing. Using -sL (silent + follow redirects) instead is sufficient for the script's needs. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
1 parent 4bec54e commit 986f7e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/cli/scripts/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ fi
9797
exit 1
9898
fi
9999
# Executing goreleaser v1.26.2 without needing to install it
100-
if ! curl -sfL https://goreleaser.com/static/run | VERSION=v1.26.2 DISTRIBUTION=oss bash -s -- ${goreleaser_verb_and_flags}; then
100+
if ! curl -sL https://goreleaser.com/static/run | VERSION=v1.26.2 DISTRIBUTION=oss bash -s -- ${goreleaser_verb_and_flags}; then
101101
echo "Error: Couldn't build the CLI binary for the current OS/arch" >&2
102102
exit 1
103103
fi

0 commit comments

Comments
 (0)