mirror of
https://github.com/cycjimmy/semantic-release-action.git
synced 2026-04-08 00:10:03 +00:00
wip: modifiying
This commit is contained in:
parent
6d88447fcd
commit
d7ab7f2e6d
3 changed files with 20 additions and 1 deletions
|
|
@ -116,3 +116,18 @@ exports.handleTagFormat = () => {
|
|||
return {};
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Handle repository-url Option
|
||||
* @returns {{}|{r: String}}
|
||||
*/
|
||||
exports.handleRepositoryOption = () => {
|
||||
const repositoryUrl = core.getInput(inputs.repository_url);
|
||||
core.debug(`repository_url input: ${repository_url}`);
|
||||
|
||||
if (repositoryUrl) {
|
||||
return { r: repositoryUrl };
|
||||
} else {
|
||||
return {};
|
||||
}
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue