From 720084792725349bd7a981cb2208ef23852b1ec0 Mon Sep 17 00:00:00 2001 From: Tomasz Mazur <47872060+AHGIJMKLKKZNPJKQR@users.noreply.github.com> Date: Fri, 10 Apr 2026 12:05:42 +0200 Subject: [PATCH] Add flags to curl --- release-automation/bump-version.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/release-automation/bump-version.sh b/release-automation/bump-version.sh index 9f03313..d380314 100755 --- a/release-automation/bump-version.sh +++ b/release-automation/bump-version.sh @@ -22,7 +22,7 @@ while read -r line; do else echo "asdf plugin $PLUGIN_NAME already added" fi -done < .tool-versions +done <.tool-versions asdf install @@ -30,10 +30,10 @@ uv version "$VERSION" uv run ./compile_proto.sh # Update OpenAPI client -curl -H "Authorization: token $GH_TOKEN" \ +curl --fail-with-body -sS -H "Authorization: token $GH_TOKEN" \ -H "Accept: application/vnd.github.v3.raw" \ -L "https://raw.githubusercontent.com/fishjam-cloud/fishjam/main/openapi.yaml" \ - -o openapi.yaml + -o openapi.yaml uv run update_client ./openapi.yaml rm openapi.yaml