Fixed regexp to process comma-separated links to github issues in CHANGELOG.md
This commit is contained in:
parent
c2cf48aab7
commit
f13abccd30
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue