[Bug 358381] enabling the publish flag does not publish build packages