Skip to content

Commit 181cc0e

Browse files
Add curl flags
1 parent 730f500 commit 181cc0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

release-automation/bump-version.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
set -e
2+
set -eo pipefail
33

44
# Usage: ./bump-version.sh <version>
55
VERSION="$1"
@@ -16,7 +16,7 @@ uv version "$VERSION"
1616
uv run ./compile_proto.sh
1717

1818
# Update OpenAPI client
19-
curl -H "Authorization: token $GH_TOKEN" \
19+
curl --fail-with-body -sS -H "Authorization: token $GH_TOKEN" \
2020
-H "Accept: application/vnd.github.v3.raw" \
2121
-L "https://raw.githubusercontent.com/fishjam-cloud/fishjam/main/openapi.yaml" \
2222
-o openapi.yaml

0 commit comments

Comments
 (0)