From 87e3efc97b5b3de1813e62756e232aba0501c0b1 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Mon, 26 Oct 2020 01:30:08 +0100 Subject: [PATCH] Fix version --- dist/index.js | 2 +- src/main.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 688616a..2b34e4a 100644 --- a/dist/index.js +++ b/dist/index.js @@ -132,7 +132,7 @@ function run() { core.startGroup(`Docker image version`); core.info(version.version || ''); core.endGroup(); - core.setOutput('version', version || ''); + core.setOutput('version', version.version || ''); const tags = meta.tags(); core.startGroup(`Docker tags`); for (let tag of tags) { diff --git a/src/main.ts b/src/main.ts index 7b413fe..692ef21 100644 --- a/src/main.ts +++ b/src/main.ts @@ -31,7 +31,7 @@ async function run() { core.startGroup(`Docker image version`); core.info(version.version || ''); core.endGroup(); - core.setOutput('version', version || ''); + core.setOutput('version', version.version || ''); const tags: Array = meta.tags(); core.startGroup(`Docker tags`);