Skip to content

Commit

Permalink
Actually not do anything when there's a release
Browse files Browse the repository at this point in the history
  • Loading branch information
Tatskaari committed Sep 30, 2021
1 parent a41d3d5 commit 4026dc7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8521,7 +8521,8 @@ async function run() {
})

if (releaseUrl !== undefined) {
core.info("Release already created. Nothing to do.")
core.info("Release already created. Nothing to do: " + releaseUrl)
return
}

const url = await octokit.rest.repos.createRelease({
Expand Down
3 changes: 2 additions & 1 deletion src/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ async function run() {
})

if (releaseUrl !== undefined) {
core.info("Release already created. Nothing to do.")
core.info("Release already created. Nothing to do: " + releaseUrl)
return
}

const url = await octokit.rest.repos.createRelease({
Expand Down

0 comments on commit 4026dc7

Please sign in to comment.