mirror of
https://github.com/cycjimmy/semantic-release-action.git
synced 2026-04-09 00:30:03 +00:00
feat: added ability to use the "extends" settings
This is done to be able to use shared configurations docs: Added docs for the extends feature fix: syntax error, due to rebase
This commit is contained in:
parent
62fd14bc6c
commit
32db8a49b2
7 changed files with 71 additions and 31 deletions
|
|
@ -59,3 +59,17 @@ exports.handleDryRunOption = () => {
|
|||
return {};
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Handle Extends Option
|
||||
* @returns {{}|{extends: Array}|{extends: String}}
|
||||
*/
|
||||
exports.handleExtends = () => {
|
||||
const extend = core.getInput(inputs.extends);
|
||||
|
||||
if (extend) {
|
||||
return { extends: extend };
|
||||
} else {
|
||||
return {};
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue