Skip to content

Commit

Permalink
Await response
Browse files Browse the repository at this point in the history
  • Loading branch information
obany committed Dec 19, 2019
1 parent d20f1e2 commit d2f4691
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10363,7 +10363,7 @@ async function run() {

const tagName = core.getInput('tag_name', { required: true });

const release = github.repos.getReleaseByTag({
const release = await github.repos.getReleaseByTag({
owner,
repo,
tag: tagName.replace('refs/tags/', '')
Expand Down
2 changes: 1 addition & 1 deletion src/tangle-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ async function run() {

const tagName = core.getInput('tag_name', { required: true });

const release = github.repos.getReleaseByTag({
const release = await github.repos.getReleaseByTag({
owner,
repo,
tag: tagName.replace('refs/tags/', '')
Expand Down

0 comments on commit d2f4691

Please sign in to comment.