From deba709d874e67c84fc078c8814577a7e94ba793 Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Wed, 26 Feb 2014 14:24:48 -0700 Subject: [PATCH] added exit code to builds --- pkg/build/script/script.go | 3 +++ 1 file changed, 3 insertions(+) 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,