From f13abccd30fb855e1f302ba830a7d0d9f48842e6 Mon Sep 17 00:00:00 2001 From: Anton Babenko Date: Thu, 27 Oct 2016 20:07:37 +0200 Subject: [PATCH] Fixed regexp to process comma-separated links to github issues in CHANGELOG.md --- scripts/changelog-links.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/changelog-links.sh b/scripts/changelog-links.sh index 44910b71b..34645f36c 100755 --- a/scripts/changelog-links.sh +++ b/scripts/changelog-links.sh @@ -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