From f7c5b3e9568ab39255c27e3a3e4c8de8e05b08dc Mon Sep 17 00:00:00 2001 From: Stephan Date: Sun, 12 Dec 2021 22:36:34 +0100 Subject: [PATCH] wtf --- .github/workflows/publish-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 60bf2ce..44d9ab2 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -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/.`) return } - var rel = hz.getReleaseByTag(tag) + var rel = await hz.getReleaseByTag(tag) await github.repos.updateRelease({ owner: context.repo.owner, repo: context.repo.repo,