Build before publish