Skip to content

Commit

Permalink
wtf
Browse files Browse the repository at this point in the history
  • Loading branch information
zpqrtbnk committed Dec 12, 2021
1 parent 4dc95bf commit f7c5b3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,12 @@ jobs:
script: |
const hz = require("./.github/workflows/hz.js")(github, context)
const ref = "${{ github.ref }}"
const tag = await hz.getRefReleaseTag(ref)
const tag = hz.getRefReleaseTag(ref)
if (tag === null) {
core.setFailed(`Invalid reference ${ref} is not release/<version>.`)
return
}
var rel = hz.getReleaseByTag(tag)
var rel = await hz.getReleaseByTag(tag)
await github.repos.updateRelease({
owner: context.repo.owner,
repo: context.repo.repo,
Expand Down

0 comments on commit f7c5b3e

Please sign in to comment.