Skip to content

Commit 5cdc543

Browse files
committed
Fix shfmt errors
1 parent eb0952e commit 5cdc543

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

entrypoint.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ if [ "$HTTP_STATUS" -eq 200 ]; then
112112
echo "::set-output name=upload_url::$(echo "$CONTENT" | jq ".upload_url")"
113113
else
114114
echo "::error::Failed to update release ($HTTP_STATUS):"
115-
echo "$CONTENT" | jq ".errors"
115+
echo "$CONTENT" | jq ".errors"
116116
exit 1
117117
fi
118118
else
@@ -131,8 +131,8 @@ else
131131
--data "${RELEASE_DATA}" \
132132
"https://api.github.com/repos/${GITHUB_REPOSITORY}/releases")
133133

134-
HTTP_STATUS=$(echo "$RESPONSE" | tail -n1)
135-
CONTENT=$(echo "$RESPONSE" | sed "$ d" | jq --args)
134+
HTTP_STATUS=$(echo "$RESPONSE" | tail -n1)
135+
CONTENT=$(echo "$RESPONSE" | sed "$ d" | jq --args)
136136

137137
if [ "$HTTP_STATUS" -eq 201 ]; then
138138
echo "::notice::Release successfully created"

0 commit comments

Comments
 (0)