From eba7d40a5ebccafa80f92ea28adb8c521014ee74 Mon Sep 17 00:00:00 2001 From: NGPixel Date: Wed, 5 Apr 2023 03:36:24 -0400 Subject: [PATCH] fix: typo error when using fromTag --- dist/index.js | 2 +- index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 7e6ee61..87c4680 100644 --- a/dist/index.js +++ b/dist/index.js @@ -31139,7 +31139,7 @@ async function main () { tag: `refs/tags/${prefix}${fromTag}` }) - latestTag = _.get(tagsRaw, 'repository.ref') + latestTag = _.get(tagRaw, 'repository.ref') if (!latestTag) { return core.setFailed('Provided tag could not be found!') diff --git a/index.js b/index.js index a06ed54..b2b98ad 100644 --- a/index.js +++ b/index.js @@ -100,7 +100,7 @@ async function main () { tag: `refs/tags/${prefix}${fromTag}` }) - latestTag = _.get(tagsRaw, 'repository.ref') + latestTag = _.get(tagRaw, 'repository.ref') if (!latestTag) { return core.setFailed('Provided tag could not be found!')