fix: catch this case correctly

This commit is contained in:
decentral1se 2021-12-21 02:27:06 +01:00
parent c1a00520dc
commit ddbf923338
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
1 changed files with 1 additions and 1 deletions

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