Skip to content

Commit

Permalink
Split the “Components:” header off
Browse files Browse the repository at this point in the history
The header is currently repeated for every component; this outputs it
separately so it only appears once.

Signed-off-by: Stephen Kitt <[email protected]>
  • Loading branch information
skitt committed Jul 5, 2023
1 parent 4d1527d commit 323bb93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ function print_component_links {
fi
done

[[ ${#component_links[@]} -eq 0 ]] || printf 'Components:\n%s\n' "${component_links[@]}"
[[ ${#component_links[@]} -eq 0 ]] || { echo Components:; printf '%s\n' "${component_links[@]}"; }
}

function advance_stage() {
Expand Down

0 comments on commit 323bb93

Please sign in to comment.