before creating publish build