Running build before publish