diff --git a/pkg/releaser/releaser.go b/pkg/releaser/releaser.go index f66f604d..687074df 100644 --- a/pkg/releaser/releaser.go +++ b/pkg/releaser/releaser.go @@ -308,6 +308,9 @@ func (r *Releaser) CreateReleases() error { defer r.git.RemoveWorktree("", worktree) // nolint: errcheck packages, err := r.getListOfPackages(r.config.PackagePath) + if err != nil { + return err + } if len(packages) == 0 { return errors.Errorf("no charts found at %s", r.config.PackagePath)