Skip to content

Commit 8bb5e14

Browse files
committed
Update dockerimage.yml
1 parent e58be97 commit 8bb5e14

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/dockerimage.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@ jobs:
6161
with:
6262
script: |
6363
const { VERSION } = process.env
64-
github.rest.repos.getReleaseByTag({
64+
return github.rest.repos.getReleaseByTag({
6565
owner: context.repo.owner,
6666
repo: context.repo.repo,
6767
tag: `v${VERSION}`,
6868
}).then(function(result) {
69-
core.info(`Release v${VERSION} found`)
70-
return result.name
69+
core.info(`Release ${result.data.name} found`)
70+
return result.data.name
7171
}).catch(function(error) {
7272
if (error.status === 404) {
7373
core.info(`Release v${VERSION} not found`)

0 commit comments

Comments
 (0)