opentelemetry-java-contrib/buildscripts/draft-release-notes.sh

5 lines
163 B
Bash

#!/bin/bash -e
sed -r 's,\[#([0-9]+)]\(https://github.com/open-telemetry/opentelemetry-java-contrib/pull/[0-9]+\),#\1,' CHANGELOG.md \
| perl -0pe 's/\n +/ /g'