(self, dist: str)
| 180 | changelog_file.write(changelog_out) |
| 181 | |
| 182 | def _export_template(self, dist: str) -> None: |
| 183 | filename = changelog.get_changelog_template( |
| 184 | self.cz.template_loader, self.template |
| 185 | ).filename |
| 186 | if filename is None: |
| 187 | raise NotAllowed("Template filename is not set") |
| 188 | |
| 189 | text = Path(filename).read_text() |
| 190 | Path(dist).write_text(text) |
| 191 | |
| 192 | def __call__(self) -> None: |
| 193 | commit_parser = self.cz.commit_parser |