Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Commit

Permalink
add code for commitish
Browse files Browse the repository at this point in the history
  • Loading branch information
decyjphr committed Sep 11, 2022
1 parent 399e50f commit 82aa431
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 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.

2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ async function run(): Promise<void> {
tag_name: newTag
}
if (semverInputs.commitish !== undefined && semverInputs.commitish !== '') {
params = Object.assign(params, {commitish: semverInputs.commitish})
params = Object.assign(params, {target_commitish: semverInputs.commitish})
}
core.debug(`creating release with params ${JSON.stringify(params)}`)
release = await octokit.repos.createRelease(params)
Expand Down

0 comments on commit 82aa431

Please sign in to comment.