This commit is contained in:
Stephan 2022-03-18 16:45:22 +01:00
parent 6f924bbb78
commit ac561c87a4

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: 'heads/release' + version
ref: 'heads/release/' + version
})
if (ref == null) {
core.setFailed(`Could not find branch 'release/${version}'.`)