def METHOD_NAME(self, is_preview=False):
    inject_configs = self._get_inject_configs()
    bcs_variables = self._get_bcs_variables()
    if self.template_variables:
        bcs_variables.update(self.template_variables)
    for res_files in self.template_files:
        for f in res_files["files"]:
            content = self._inject(f["content"], inject_configs, bcs_variables)
            # NOTE: 多转换一次，目的去掉yaml key 上的双引号
            if is_preview:
                content = yaml.dump(yaml.load(content))
            f["content"] = content
    return ReleaseData(
        self.project_id, self.namespace_info, self.show_version, self.template_files, self.template_variables
    )