Skip to content

Commit bdb6ff2

Browse files
committed
chore(github): extra logs
1 parent 403469f commit bdb6ff2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/github/src/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,12 @@ export class GithubHosting extends GitRepositoryHosting {
117117
} = options
118118
const { octokit } = this
119119
const data = await project.getReleaseData()
120+
121+
if (!data.length) {
122+
logger?.info('No release data found. Skipping release creation.')
123+
return
124+
}
125+
120126
const repositoryId = await this.getRepositoryId(project)
121127

122128
for (const releaseData of data) {

0 commit comments

Comments
 (0)