Skip to content

Commit

Permalink
Update target_commitish when updating a release
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Bulash committed Feb 3, 2022
1 parent a8445e8 commit 42b2d89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dist/index.js
Expand Up @@ -129393,6 +129393,7 @@ const updateRelease = ({ context, draftRelease, releaseInfo }) => {
return context.octokit.repos.updateRelease(
context.repo({
release_id: draftRelease.id,
target_commitish: releaseInfo.commitish,
body: releaseInfo.body,
draft: releaseInfo.draft,
prerelease: releaseInfo.prerelease,
Expand Down
1 change: 1 addition & 0 deletions lib/releases.js
Expand Up @@ -355,6 +355,7 @@ const updateRelease = ({ context, draftRelease, releaseInfo }) => {
return context.octokit.repos.updateRelease(
context.repo({
release_id: draftRelease.id,
target_commitish: releaseInfo.commitish,
body: releaseInfo.body,
draft: releaseInfo.draft,
prerelease: releaseInfo.prerelease,
Expand Down

0 comments on commit 42b2d89

Please sign in to comment.