Skip to content

Commit 50fbced

Browse files
committed
update github
1 parent 29c331b commit 50fbced

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/github.ts

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,12 @@ export async function generateChangelog(
6464

6565
if (lastReleaseVersion) {
6666
// Find all the commits between the current release and the last release.
67-
const commits = shell
68-
.exec(
69-
`git --no-pager log ${lastReleaseVersion}..${currentVersion} --pretty=format:""%H""`,
70-
{silent: true}
71-
)
72-
.stdout.trim()
73-
.split('\n')
67+
const command = shell.exec(
68+
`git --no-pager log ${lastReleaseVersion}..${currentVersion} --pretty=format:""%H""`,
69+
{silent: true}
70+
)
71+
core.info(`Executed git log with output ${command}`)
72+
const commits = command.stdout.trim().split('\n')
7473
const pullRequestMetadata = await fetchPullRequestBodyFromCommits(
7574
commits,
7675
graphqlWithAuth

0 commit comments

Comments
 (0)