Skip to content

Commit

Permalink
fix: release-tags typo
Browse files Browse the repository at this point in the history
  • Loading branch information
peam1146 committed Aug 16, 2024
1 parent 5f69232 commit d0f905a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
6 changes: 5 additions & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,17 @@ export function parseIssueFromReleaseBody(
}

export async function releaseMode(): Promise<void> {
const releasesTags = core.getInput('releases-tags', { trimWhitespace: true })
const releasesTags = core.getInput('release-tags', { trimWhitespace: true })
core.debug(`Release tags: ${releasesTags}`)
const parsedReleaseTags = parseReleaseTags(releasesTags)

core.debug(`Parsed release tags: ${parsedReleaseTags}`)

if (!parsedReleaseTags.length) {
core.info('No releases to fetch')
return
}

const octokit = new Octokit({ auth: core.getInput('token') })
const { results, errors } = await PromisePool.withConcurrency(2)
.for(parsedReleaseTags)
Expand Down

0 comments on commit d0f905a

Please sign in to comment.