fix: sync to latest before commits come in
continuous-integration/drone/push Build is passing Details

Follows from a4989e3834
This commit is contained in:
decentral1se 2022-04-20 12:31:21 +02:00 committed by Gitea
parent 996255188b
commit 6140abbcac
1 changed files with 4 additions and 0 deletions

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