Skip to content

Commit

Permalink
Fix tag reference.
Browse files Browse the repository at this point in the history
  • Loading branch information
coreybutler committed Apr 2, 2020
1 parent f199b0b commit af714f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ async function run () {
const deleteTagResponse = await github.git.deleteRef({
owner,
repo,
ref: `tags/${data.tag_name}`
ref: `tags/${tag}`
})

if (deleteTagResponse) {
core.warning(`Removed ${data.tag_name}, even though there was no associated release.`)
core.warning(`Removed ${tag}, even though there was no associated release.`)
return
}
}
Expand Down

0 comments on commit af714f6

Please sign in to comment.