wtf
This commit is contained in:
parent
dc7dd1e768
commit
4dc95bf252
4
.github/workflows/publish-release.yml
vendored
4
.github/workflows/publish-release.yml
vendored
|
@ -42,7 +42,7 @@ jobs:
|
||||||
core.setFailed(`Invalid reference ${ref} is not release/<version>.`)
|
core.setFailed(`Invalid reference ${ref} is not release/<version>.`)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
var rel = hz.getReleaseByTag(tag)
|
var rel = await hz.getReleaseByTag(tag)
|
||||||
if (rel === null) {
|
if (rel === null) {
|
||||||
core.setFailed(`Could not find a release for tag ${tag}.`)
|
core.setFailed(`Could not find a release for tag ${tag}.`)
|
||||||
return
|
return
|
||||||
|
@ -87,7 +87,7 @@ jobs:
|
||||||
script: |
|
script: |
|
||||||
const hz = require("./.github/workflows/hz.js")(github, context)
|
const hz = require("./.github/workflows/hz.js")(github, context)
|
||||||
const ref = "${{ github.ref }}"
|
const ref = "${{ github.ref }}"
|
||||||
const tag = hz.getRefReleaseTag(ref)
|
const tag = await hz.getRefReleaseTag(ref)
|
||||||
if (tag === null) {
|
if (tag === null) {
|
||||||
core.setFailed(`Invalid reference ${ref} is not release/<version>.`)
|
core.setFailed(`Invalid reference ${ref} is not release/<version>.`)
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue
Block a user