(self)
| 136 | self._update_history_file(self.package.history_file, self.want_version) |
| 137 | |
| 138 | def commit(self) -> None: |
| 139 | logger.info("committing version changes") |
| 140 | msg = f"""\ |
| 141 | chore: bump {self.package.name} package version to {self.want_version} |
| 142 | """ |
| 143 | files = self.package.toml_files + [self.package.history_file] |
| 144 | cmdline = ["git", "commit", "-m", msg] + list(map(str, files)) |
| 145 | sp.check_call(cmdline) |
| 146 | |
| 147 | def create_tag(self) -> None: |
| 148 | logger.info("tagging version %s", self.want_version) |