From 4a51b9fada7267737750fded8b8edfb275acbbbb Mon Sep 17 00:00:00 2001 From: "heiko.rothe" Date: Mon, 1 Aug 2022 12:30:51 +0200 Subject: [PATCH] feat: handle versioned extends inputs correctly In some cases, you may want to provide a version for the config you want to extend. This change will now pass the correct format for such a case down to semantic-release. --- src/handleOptions.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/handleOptions.js b/src/handleOptions.js index ebf85685..1c598150 100644 --- a/src/handleOptions.js +++ b/src/handleOptions.js @@ -68,7 +68,11 @@ exports.handleExtends = () => { const extend = core.getInput(inputs.extends); if (extend) { - return { extends: extend }; + const extendModuleNames = extend.split(/\r?\n/) + .map((name) => name.replace(/(?