[tooling] Correct build status property

Status property was returning a closure instead of a string,
resulting in incorrect behavior of publish and install tasks. This
fix the property to be correctly evaluated based on the version
property.