fix: sync to latest before commits come in
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

Follows from a4989e383402e5c1af0b9713a3ad4f50ab5581e5
This commit is contained in:
decentral1se 2022-04-20 12:31:21 +02:00
parent a4989e3834
commit c7dd6343b1
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410

View File

@ -61,6 +61,10 @@ You may invoke this command in "wizard" mode and be prompted for input:
Action: func(c *cli.Context) error {
recipe := internal.ValidateRecipeWithPrompt(c, true)
if err := recipePkg.EnsureUpToDate(recipe.Name); err != nil {
logrus.Fatal(err)
}
bumpType := btoi(internal.Major)*4 + btoi(internal.Minor)*2 + btoi(internal.Patch)
if bumpType != 0 {
// a bitwise check if the number is a power of 2