Skip to content

Commit 3ef4941

Browse files
committed
add more logging
1 parent 1828158 commit 3ef4941

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

dist/index.js

Lines changed: 2 additions & 3 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 & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,6 @@ 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-
70-
core.info(`Comparing ${lastReleaseVersion} to ${currentVersion}`)
7167
const command = shell.exec(
7268
`git --no-pager log ${lastReleaseVersion}...${currentVersion} --pretty=format:'"%H"'`,
7369
{silent: true}
@@ -114,6 +110,8 @@ async function fetchPullRequestBodyFromCommits(
114110
`
115111
}
116112

113+
core.info(`Final subqery is ${commitsSubQuery}`)
114+
117115
const response = await graphqlWithAuth(`
118116
{
119117
repository(owner: "warpdotdev", name: "warp-internal") {
@@ -122,6 +120,8 @@ async function fetchPullRequestBodyFromCommits(
122120
}
123121
`)
124122

123+
core.info(`response is ${response}`)
124+
125125
const commitsInfo: string[] = []
126126
for (const oid of commits) {
127127
const commitResponse = response.repository[`commit_${oid}`]

0 commit comments

Comments
 (0)