Skip to content

Commit 1f9eac5

Browse files
committed
ci(release-prechecks): remove extra braces causing branch delete to fail
1 parent 87d1b68 commit 1f9eac5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/test-goreleaser.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ check_token_contents_permission() {
118118
if [ "$http_status_create" -eq 201 ]; then
119119
# Delete the branch
120120
local http_status_delete
121-
http_status_delete=$(curl -s -o /dev/null -w "%{{http_code}}" \
121+
http_status_delete=$(curl -s -o /dev/null -w "%{http_code}" \
122122
-X DELETE \
123123
-H "Authorization: token $token" \
124124
"https://api.github.com/repos/$repo/git/refs/heads/$branch_name")

0 commit comments

Comments
 (0)