From 93e97409040f6e4ba5cebc4ddca679a2d3203efa Mon Sep 17 00:00:00 2001 From: Stephan Date: Fri, 18 Mar 2022 18:03:53 +0100 Subject: [PATCH] exp --- .github/workflows/publish-release.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/publish-release.js b/.github/workflows/publish-release.js index c7e2189..a11a182 100644 --- a/.github/workflows/publish-release.js +++ b/.github/workflows/publish-release.js @@ -24,8 +24,7 @@ module.exports = /*async*/ ({github, context, core}) => { repo: context.repo.repo, ref: `heads/release/${version}` }) - console.log(branchRefs) - if (firstOrDefault(branchRefs.data, (x) => x.ref == `heads/release/${version}`) == null) { + if (firstOrDefault(branchRefs.data, (x) => x.ref == `refs/heads/release/${version}`) == null) { core.setFailed(`Could not find branch 'release/${version}'.`) return }