diff --git a/pkg/build/script/script.go b/pkg/build/script/script.go index 032df3844..5de1ddaf9 100644 --- a/pkg/build/script/script.go +++ b/pkg/build/script/script.go @@ -83,6 +83,9 @@ func (b *Build) Write(f *buildfile.Buildfile) { if b.Deploy != nil { b.Deploy.Write(f) } + + // write exit value + f.WriteCmd("exit 0") } // WriteBuild adds only the build steps to the build script,