mirror of
https://github.com/PaulHatch/semantic-version.git
synced 2025-12-27 04:58:17 +00:00
Fix, exit when current commit tag found
This commit is contained in:
parent
b38e4671e9
commit
ebcb352d0b
2 changed files with 2 additions and 0 deletions
1
dist/index.js
vendored
1
dist/index.js
vendored
|
|
@ -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 = '';
|
||||
|
|
|
|||
1
index.js
1
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 = '';
|
||||
|
|
|
|||
Loading…
Reference in a new issue