Skip to content

Commit d552033

Browse files
committed
Fix multiple pipeline badges
1 parent 47a8cc5 commit d552033

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

misc/datahub-hooks.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ check_pipeline_badge() {
149149
"${CI_API_V4_URL}/projects/$project_id/badges" \
150150
| jq -r '.[].name // empty'
151151
)"
152-
if [ -z "$badge" ]; then
152+
if [ -z "$badge_list" ]; then
153153
ret="$(curl -k -L -X POST \
154154
-H "PRIVATE-TOKEN: $api_token" \
155155
-H "Content-Type: application/json" \

0 commit comments

Comments
 (0)