exp
This commit is contained in:
1
.github/workflows/publish-release.js
vendored
1
.github/workflows/publish-release.js
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user