Open geoffroy-aubry opened 12 years ago
content="$(cat CHANGELOG.md)"; tag='1.5.0'; content="## Version $(echo "${content### Version }")"; content="$(echo "${content%## Version $tag}")"; echo -e "$content\n" | sed -r ':a;N;$!ba;s/\n\n( -|```)/\n\1/g'
And not just yes/no for the last tag...