fix: ensure latest checked out for recipe upgrade

This commit is contained in:
2022-01-29 13:35:42 +01:00
parent c905376472
commit b2d17a1829
5 changed files with 11 additions and 5 deletions

View File

@ -60,7 +60,7 @@ You may invoke this command in "wizard" mode and be prompted for input:
},
Before: internal.SubCommandBefore,
Action: func(c *cli.Context) error {
recipe := internal.ValidateRecipeWithPrompt(c)
recipe := internal.ValidateRecipeWithPrompt(c, true)
bumpType := btoi(internal.Major)*4 + btoi(internal.Minor)*2 + btoi(internal.Patch)
if bumpType != 0 {