From 534412081a2e05440afc503a8404cc45e9322389 Mon Sep 17 00:00:00 2001 From: David Hiendl Date: Thu, 7 Dec 2023 11:40:26 +0100 Subject: [PATCH] log semver inputs and flags --- dist/index.js | 10 ++++++++++ src/lib.js | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/dist/index.js b/dist/index.js index b0899f9..335eaf7 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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); diff --git a/src/lib.js b/src/lib.js index f3787dd..478e4d0 100644 --- a/src/lib.js +++ b/src/lib.js @@ -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);