fix: catch this case correctly

This commit is contained in:
2021-12-21 02:27:06 +01:00
parent c1a00520dc
commit ddbf923338

View File

@ -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)")
}