add publish build option