Noticed while looking at the liferay-ckeditor releases that the links to the "full changelog" are missing the "v" prefix in a lot of places.
That's because the code we have to read the prefix from the ".yarnrc" was inadequately tested outside of monorepos. This small fix makes sure that it reads the top-level ".yarnrc" as well, for the non-monorepo case.
Test plan: Make a merge commit in liferay-ckeditor and run the generator with and without a "v" prefix. Then apply this change and repeat the test; results:
"master", with "v" prefix: get valid links in changelog.
"master", without "v" prefix: get bad links in changelog.
This commit, with "v" prefix: get valid links in changelog.
This commit, without "v" prefix: get valid links in changelog.
Noticed while looking at the liferay-ckeditor releases that the links to the "full changelog" are missing the "v" prefix in a lot of places.
That's because the code we have to read the prefix from the ".yarnrc" was inadequately tested outside of monorepos. This small fix makes sure that it reads the top-level ".yarnrc" as well, for the non-monorepo case.
Test plan: Make a merge commit in liferay-ckeditor and run the generator with and without a "v" prefix. Then apply this change and repeat the test; results:
ie. broken case "2" is fixed.