added exit code to builds

This commit is contained in:
Brad Rydzewski 2014-02-26 14:24:48 -07:00
parent 78483f8b13
commit deba709d87

View file

@ -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,