diff --git a/cli/recipe/release.go b/cli/recipe/release.go index 20a47fbe..af1cf037 100644 --- a/cli/recipe/release.go +++ b/cli/recipe/release.go @@ -239,12 +239,10 @@ func commitRelease(recipe recipe.Recipe, tag string) error { } } - if internal.Publish { - msg := fmt.Sprintf("chore: publish %s release", tag) - repoPath := path.Join(config.RECIPES_DIR, recipe.Name) - if err := gitPkg.Commit(repoPath, "compose.**yml", msg, internal.Dry); err != nil { - return err - } + msg := fmt.Sprintf("chore: publish %s release", tag) + repoPath := path.Join(config.RECIPES_DIR, recipe.Name) + if err := gitPkg.Commit(repoPath, ".", msg, internal.Dry); err != nil { + return err } return nil