- add more log messages to action

This commit is contained in:
Mike Penz
2020-10-17 19:37:11 +02:00
parent f675789732
commit 1e0f6ab49e
5 changed files with 32 additions and 28 deletions
+2 -2
View File
@@ -26,7 +26,7 @@ export class ReleaseNotes {
const {owner, repo, toTag, ignorePreReleases, configuration} = this.options
if (!this.options.fromTag) {
core.startGroup(`:bookmark: Resolve 'fromTag'`)
core.startGroup(`🔖 Resolve 'fromTag'`)
core.debug(`fromTag undefined, trying to resolve via API`)
const tagsApi = new Tags(octokit)
@@ -68,7 +68,7 @@ export class ReleaseNotes {
octokit: Octokit
): Promise<PullRequestInfo[]> {
const {owner, repo, fromTag, toTag, configuration} = this.options
core.info(`️ Comparing ${owner}/${repo} - ${fromTag}...${toTag}`)
core.info(`️ Comparing ${owner}/${repo} - '${fromTag}...${toTag}'`)
const commitsApi = new Commits(octokit)
let commits: CommitInfo[]