Fixed regexp to process comma-separated links to github issues in CHANGELOG.md

This commit is contained in:
Anton Babenko 2016-10-27 20:07:37 +02:00
parent c2cf48aab7
commit f13abccd30
1 changed files with 1 additions and 1 deletions

View File

@ -24,6 +24,6 @@ else
SED="sed -i.bak -r -e"
fi
$SED 's/\[GH-([0-9]+)\]/\(\[#\1\]\(https:\/\/github.com\/hashicorp\/terraform\/issues\/\1\)\)/g' CHANGELOG.md
$SED 's/GH-([0-9]+)/\[#\1\]\(https:\/\/github.com\/hashicorp\/terraform\/issues\/\1\)/g' -e 's/\[\[#(.+)([0-9])\)]$/(\[#\1\2))/g' CHANGELOG.md
rm CHANGELOG.md.bak