prepare to publish the artifact