From ebcb352d0b94905f5da69e51cfbbc361592b5719 Mon Sep 17 00:00:00 2001 From: Paul Hatcherian <1835615+PaulHatch@users.noreply.github.com> Date: Wed, 7 Oct 2020 19:46:11 -0400 Subject: [PATCH] Fix, exit when current commit tag found --- dist/index.js | 1 + index.js | 1 + 2 files changed, 2 insertions(+) diff --git a/dist/index.js b/dist/index.js index 4b916cf..6be6eeb 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1141,6 +1141,7 @@ async function run() { if (currentTag) { [major, minor, patch] = parseVersion(currentTag); setOutput(major, minor, patch, 0, false, branch, namespace); + return; } let tag = ''; diff --git a/index.js b/index.js index c5695c8..835632a 100644 --- a/index.js +++ b/index.js @@ -120,6 +120,7 @@ async function run() { if (currentTag) { [major, minor, patch] = parseVersion(currentTag); setOutput(major, minor, patch, 0, false, branch, namespace); + return; } let tag = '';