diff --git a/.github/workflows/publish-release.js b/.github/workflows/publish-release.js index 5713afb..72cefa0 100644 --- a/.github/workflows/publish-release.js +++ b/.github/workflows/publish-release.js @@ -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}'.`)