'Sign the version we just created and make it public.'

def sign_and_publicise(self, addon, version):

    self.info('Signing    version...')
    addon.sign_if_packaged(version.pk)
    self.info(('Signing    version    %s    done.' % version))
    self.info('Setting    File    to    public...')
    file_ = version.all_files[0]
    file_.update(_signal=False, datestatuschanged=datetime.now(), reviewed=datetime.now(), status=mkt.STATUS_PUBLIC)
    self.info(('File    for    version    %s    set    to    public.' % version))
    self.info(('Setting    version    %s    as    the    current    version...' % version))
    version.update(_signal=False, reviewed=datetime.now())
    addon.update_version(_signal=False)
    self.info(('Set    version    %s    as    the    current    version.' % version))
