mirror of
https://github.com/cycjimmy/semantic-release-action.git
synced 2026-04-09 00:30:03 +00:00
feat: support for option tagFormat
This commit is contained in:
parent
9a76e06dfe
commit
ed38eb0e99
3 changed files with 20 additions and 1 deletions
|
|
@ -77,3 +77,19 @@ exports.handleExtends = () => {
|
|||
return {};
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Handle TagFormat Option
|
||||
* @returns {{}|{tagFormat: String}}
|
||||
*/
|
||||
exports.handleTagFormat = () => {
|
||||
const tagFormat = core.getInput(inputs.tagFormat);
|
||||
|
||||
if (tagFormat) {
|
||||
return {
|
||||
tagFormat
|
||||
};
|
||||
} else {
|
||||
return {};
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue