Skip to content

Commit 1828158

Browse files
committed
print all tags
1 parent b8ff4c9 commit 1828158

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

dist/index.js

Lines changed: 2 additions & 0 deletions
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: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,16 @@ export async function generateChangelog(
6464

6565
if (lastReleaseVersion) {
6666
// Find all the commits between the current release and the last release.
67+
const gitTags = shell.exec(`git tag`, {silent: true})
68+
core.info(`Executed git tag with output ${gitTags.stdout}`)
69+
6770
core.info(`Comparing ${lastReleaseVersion} to ${currentVersion}`)
6871
const command = shell.exec(
6972
`git --no-pager log ${lastReleaseVersion}...${currentVersion} --pretty=format:'"%H"'`,
7073
{silent: true}
7174
)
7275
core.info(`Executed git log with output ${command}`)
76+
7377
core.info(`Executed git log with output ${command.stderr}`)
7478
const commits = command.stdout.trim().split('\n')
7579
const pullRequestMetadata = await fetchPullRequestBodyFromCommits(

0 commit comments

Comments
 (0)