feat: support for option tagFormat

This commit is contained in:
Joel Humberto Gomez Paredes 2023-03-03 04:25:24 -06:00
parent 9a76e06dfe
commit ed38eb0e99
3 changed files with 20 additions and 1 deletions

View file

@ -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 {};
}
};