Fix logic for ignoring tag version matching

This commit is contained in:
Paul Hatcherian 2021-01-23 00:45:20 -05:00
parent 9475102a4a
commit fccf69567f
3 changed files with 5 additions and 5 deletions

4
dist/index.js vendored
View file

@ -1248,8 +1248,8 @@ async function run() {
if (currentTag) {
let tagVersion = parseVersion(currentTag);
if (tagVersion[0] !== major &&
tagVersion[1] !== minor &&
if (tagVersion[0] !== major ||
tagVersion[1] !== minor ||
tagVersion[2] !== patch) {
[major, minor, patch] = tagVersion;
increment = 0;