fix(common): report more log detail in increment-version

Relates to #6391.

Adds some logging so we may be able to find out why we are getting
strange results for some PRs.
This commit is contained in:
Marc Durdin 2022-03-24 08:52:10 +11:00
parent 04e1909117
commit 3eceea8735

View file

@ -1,4 +1,4 @@
import { warning as logWarning } from '@actions/core';
import { warning as logWarning, info as logInfo } from '@actions/core';
import { GitHub } from '@actions/github';
@ -114,6 +114,8 @@ export const reportHistory = async (
return [];
}
logInfo('Found commits for '+JSON.stringify(args)+': \n'+git_result);
const new_commits = git_result.split(/\r?\n/g);
//