Fix Changelog Links Script for terraform provider

This commit is contained in:
Jake Champlin 2017-06-26 14:00:50 -04:00
parent 83eee27026
commit ecee8da3d1
No known key found for this signature in database
GPG Key ID: DC31F41958EF4AC2

View File

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