log semver inputs and flags
This commit is contained in:
parent
54a2c942c8
commit
534412081a
10
dist/index.js
vendored
10
dist/index.js
vendored
@ -62205,6 +62205,16 @@ function collectTags(information) {
|
|||||||
let tagCommitPrefix = (core.getInput('tag_commit_prefix') ?? '').trim();
|
let tagCommitPrefix = (core.getInput('tag_commit_prefix') ?? '').trim();
|
||||||
|
|
||||||
// handle semver
|
// 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_enable')) {
|
||||||
if (core.getBooleanInput('tag_semver_major') && isNonEmptyStr(information.semver_major)) {
|
if (core.getBooleanInput('tag_semver_major') && isNonEmptyStr(information.semver_major)) {
|
||||||
tags.push(tagPrefix + information.semver_major);
|
tags.push(tagPrefix + information.semver_major);
|
||||||
|
|||||||
10
src/lib.js
10
src/lib.js
@ -101,6 +101,16 @@ export function collectTags(information) {
|
|||||||
let tagCommitPrefix = (core.getInput('tag_commit_prefix') ?? '').trim();
|
let tagCommitPrefix = (core.getInput('tag_commit_prefix') ?? '').trim();
|
||||||
|
|
||||||
// handle semver
|
// 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_enable')) {
|
||||||
if (core.getBooleanInput('tag_semver_major') && isNonEmptyStr(information.semver_major)) {
|
if (core.getBooleanInput('tag_semver_major') && isNonEmptyStr(information.semver_major)) {
|
||||||
tags.push(tagPrefix + information.semver_major);
|
tags.push(tagPrefix + information.semver_major);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user