wtf
This commit is contained in:
parent
4dc95bf252
commit
f7c5b3e956
4
.github/workflows/publish-release.yml
vendored
4
.github/workflows/publish-release.yml
vendored
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user