fix: take care of -n here
This commit is contained in:
		| @ -121,7 +121,7 @@ You may invoke this command in "wizard" mode and be prompted for input: | ||||
| 		var createTagOptions git.CreateTagOptions | ||||
| 		createTagOptions.Message = internal.TagMessage | ||||
|  | ||||
| 		if !internal.Commit { | ||||
| 		if !internal.Commit && !internal.NoInput { | ||||
| 			prompt := &survey.Confirm{ | ||||
| 				Message: "git commit changes also?", | ||||
| 			} | ||||
| @ -130,7 +130,7 @@ You may invoke this command in "wizard" mode and be prompted for input: | ||||
| 			} | ||||
| 		} | ||||
|  | ||||
| 		if !internal.Push { | ||||
| 		if !internal.Push && !internal.NoInput { | ||||
| 			prompt := &survey.Confirm{ | ||||
| 				Message: "git push changes also?", | ||||
| 			} | ||||
| @ -149,7 +149,7 @@ You may invoke this command in "wizard" mode and be prompted for input: | ||||
| 				logrus.Fatal(err) | ||||
| 			} | ||||
|  | ||||
| 			if internal.CommitMessage == "" { | ||||
| 			if internal.CommitMessage == "" && !internal.NoInput { | ||||
| 				prompt := &survey.Input{ | ||||
| 					Message: "commit message", | ||||
| 					Default: fmt.Sprintf("chore: publish new %s version", internal.GetBumpType()), | ||||
|  | ||||
		Reference in New Issue
	
	Block a user