added build before publishing