Skip to content

Commit

Permalink
more debug
Browse files Browse the repository at this point in the history
  • Loading branch information
iautom8things committed Jun 26, 2021
1 parent 4d933f8 commit ebdbbc1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ const shortTags = core.getInput('short_tags') === 'true';
const bumpEachCommit = core.getInput('bump_each_commit') === 'true';
const useTestValue = core.getInput('use_test_value') === 'true';
core.warning(`useTestValue: ${useTestValue}`);
core.info(`useTestValue: ${useTestValue}`);
core.error(`useTestValue: ${useTestValue}`);

const cmd = async (command, ...args) => {
let output = '', errors = '';
Expand Down Expand Up @@ -225,6 +227,8 @@ async function run() {

if (useTestValue) {
core.warning(`Test Value: ${testValue} -- major pattern ${majorPattern(testValue)} -- minor pattern ${minorPattern(testValue)}`);
core.info(`Test Value: ${testValue} -- major pattern ${majorPattern(testValue)} -- minor pattern ${minorPattern(testValue)}`);
core.error(`Test Value: ${testValue} -- major pattern ${majorPattern(testValue)} -- minor pattern ${minorPattern(testValue)}`);
if (majorPattern(testValue)) {
major++;
minor = 0;
Expand Down

0 comments on commit ebdbbc1

Please sign in to comment.