exp
This commit is contained in:
parent
6f924bbb78
commit
ac561c87a4
2
.github/workflows/publish-release.js
vendored
2
.github/workflows/publish-release.js
vendored
|
@ -22,7 +22,7 @@ module.exports = /*async*/ ({github, context, core}) => {
|
||||||
const ref = await restapi.git.getRef({
|
const ref = await restapi.git.getRef({
|
||||||
owner: context.repo.owner,
|
owner: context.repo.owner,
|
||||||
repo: context.repo.repo,
|
repo: context.repo.repo,
|
||||||
ref: 'heads/release' + version
|
ref: 'heads/release/' + version
|
||||||
})
|
})
|
||||||
if (ref == null) {
|
if (ref == null) {
|
||||||
core.setFailed(`Could not find branch 'release/${version}'.`)
|
core.setFailed(`Could not find branch 'release/${version}'.`)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user