get-release-body.sh 258 B

1234567891011121314
  1. #!/bin/bash
  2. set -eu
  3. TAG="$1"
  4. CHANGELOG="$2"
  5. cat << END
  6. ## Changes
  7. $(awk '/\* /{ FOUND=1 } /^[[:space:]]*$/ { if(FOUND) exit } { if(FOUND) print }' "$CHANGELOG")
  8. [View version history](https://github.com/bblanchon/ArduinoJson/blob/$TAG/CHANGELOG.md)
  9. END