mirror of
https://github.com/docker/docs.git
synced 2026-10-23 18:09:02 +03:00
The second grep exits after finding the next release heading, which can close the pipe while the first grep is still writing. With pipefail, that SIGPIPE is reported as if the requested release notes were missing. Read the release file directly with awk and stop at the next level-two heading so early termination cannot fail an upstream process. Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
1.9 KiB
Executable File
1.9 KiB
Executable File