Update build file with publish task