log semver inputs and flags

This commit is contained in:
David Hiendl 2023-12-07 11:40:26 +01:00
parent 54a2c942c8
commit 534412081a
2 changed files with 20 additions and 0 deletions

10
dist/index.js vendored
View File

@ -62205,6 +62205,16 @@ function collectTags(information) {
let tagCommitPrefix = (core.getInput('tag_commit_prefix') ?? '').trim();
// handle semver
console.log({
'tag_semver_enable' : core.getBooleanInput('tag_semver_enable'),
'tag_semver_major' : core.getBooleanInput('tag_semver_major'),
'tag_semver_minor' : core.getBooleanInput('tag_semver_minor'),
'tag_semver_patch' : core.getBooleanInput('tag_semver_patch'),
'information.semver_major': information.semver_major,
'information.semver_minor': information.semver_minor,
'information.semver_patch': information.semver_patch,
'information' : information
});
if (core.getBooleanInput('tag_semver_enable')) {
if (core.getBooleanInput('tag_semver_major') && isNonEmptyStr(information.semver_major)) {
tags.push(tagPrefix + information.semver_major);

View File

@ -101,6 +101,16 @@ export function collectTags(information) {
let tagCommitPrefix = (core.getInput('tag_commit_prefix') ?? '').trim();
// handle semver
console.log({
'tag_semver_enable' : core.getBooleanInput('tag_semver_enable'),
'tag_semver_major' : core.getBooleanInput('tag_semver_major'),
'tag_semver_minor' : core.getBooleanInput('tag_semver_minor'),
'tag_semver_patch' : core.getBooleanInput('tag_semver_patch'),
'information.semver_major': information.semver_major,
'information.semver_minor': information.semver_minor,
'information.semver_patch': information.semver_patch,
'information' : information
});
if (core.getBooleanInput('tag_semver_enable')) {
if (core.getBooleanInput('tag_semver_major') && isNonEmptyStr(information.semver_major)) {
tags.push(tagPrefix + information.semver_major);