1
0
This commit is contained in:
Stephan 2022-03-18 18:02:01 +01:00
parent f916de4ff4
commit 95d31440db

View File

@ -24,6 +24,7 @@ module.exports = /*async*/ ({github, context, core}) => {
repo: context.repo.repo, repo: context.repo.repo,
ref: `heads/release/${version}` 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 == `heads/release/${version}`) == null) {
core.setFailed(`Could not find branch 'release/${version}'.`) core.setFailed(`Could not find branch 'release/${version}'.`)
return return