fix: catch this case correctly
This commit is contained in:
parent
c1a00520dc
commit
ddbf923338
|
@ -90,7 +90,7 @@ You may invoke this command in "wizard" mode and be prompted for input:
|
|||
}
|
||||
}
|
||||
|
||||
if (!internal.Major && !internal.Minor && !internal.Patch) && tagString != "" {
|
||||
if (!internal.Major && !internal.Minor && !internal.Patch) && tagString == "" {
|
||||
logrus.Fatal("please specify <version> or bump type (--major/--minor/--patch)")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue