From ddbf9233389652c69402d7b9797d6ef8e62d4c09 Mon Sep 17 00:00:00 2001 From: cellarspoon Date: Tue, 21 Dec 2021 02:27:06 +0100 Subject: [PATCH] fix: catch this case correctly --- cli/recipe/release.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/recipe/release.go b/cli/recipe/release.go index b8631749..bb94dbb8 100644 --- a/cli/recipe/release.go +++ b/cli/recipe/release.go @@ -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 or bump type (--major/--minor/--patch)") }