Skip to content

Commit b8ff4c9

Browse files
committed
add logging when running command
1 parent a245054 commit b8ff4c9

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

dist/index.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/github.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,9 @@ export async function generateChangelog(
6464

6565
if (lastReleaseVersion) {
6666
// Find all the commits between the current release and the last release.
67+
core.info(`Comparing ${lastReleaseVersion} to ${currentVersion}`)
6768
const command = shell.exec(
68-
`git --no-pager log ${lastReleaseVersion}..${currentVersion} --pretty=format:""%H""`,
69+
`git --no-pager log ${lastReleaseVersion}...${currentVersion} --pretty=format:'"%H"'`,
6970
{silent: true}
7071
)
7172
core.info(`Executed git log with output ${command}`)

0 commit comments

Comments
 (0)