github.com/Jeffail/benthos/v3@v3.65.0/resources/scripts/release_notes.sh (about)

     1  #!/bin/sh
     2  echo "For installation instructions check out the [getting started guide](https://www.benthos.dev/docs/guides/getting_started)."
     3  cat CHANGELOG.md | awk '
     4    /^## [0-9]/ {
     5        release++;
     6    }
     7    !/^## [0-9]/ {
     8        if ( release == 1 ) print;
     9        if ( release > 1 ) exit;
    10    }'
    11  echo "The full change log can be [found here](https://github.com/Jeffail/benthos/blob/master/CHANGELOG.md)."