1
0
This commit is contained in:
Stephan 2022-03-18 16:44:03 +01:00
parent cb40378ce6
commit 6f924bbb78

View File

@ -22,7 +22,7 @@ module.exports = /*async*/ ({github, context, core}) => {
const ref = await restapi.git.getRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: 'refs/heads/release' + version
ref: 'heads/release' + version
})
if (ref == null) {
core.setFailed(`Could not find branch 'release/${version}'.`)