New 🌊 wave for @helm

Commit 03231090

032310903265Merged

Dmitriy Zhilyaev <[email protected]> · 4 years ago · 32 files · ~32 modified

Description

Merge pull request #302 from helmwave/release-0.19.1

Release v0.19.1

Details

Commit
032310903265
Parent
cac700ba2e41
Merge parent
ee662816de9c

pkg/action/build.gomodifiedView file

@@ -32,15 +32,16 @@
3232 )
3333
3434 // Run is main function for 'build' CLI command.
35-func (i *Build) Run() error {
35+func (i *Build) Run() (err error) {
3636 if i.autoYml {
37- if err := i.yml.Run(); err != nil {
37+ err = i.yml.Run()
38+ if err != nil {
3839 return err
3940 }
4041 }
4142
4243 newPlan := plan.New(i.plandir)
43- err := newPlan.Build(i.yml.file, i.normalizeTags(), i.matchAll, i.yml.templater)
44+ err = newPlan.Build(i.yml.file, i.normalizeTags(), i.matchAll, i.yml.templater)
4445 if err != nil {
4546 return err
4647 }
@@ -90,6 +91,7 @@
9091 }
9192 }
9293
94+// flags return flag set of CLI urfave.
9395 func (i *Build) flags() []cli.Flag {
9496 // Init sub-structures
9597 i.yml = &Yml{}
@@ -116,6 +118,7 @@
116118 return self
117119 }
118120
121+// normalizeTags is wrapper for normalizeTagList.
119122 func (i *Build) normalizeTags() []string {
120123 return normalizeTagList(i.tags.Value())
121124 }