Add publishTo flag to build file