MCPcopy
hub / github.com/psycopg/psycopg / commit

Method commit

tools/bump_version.py:138–145  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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"""\
141chore: 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)

Calls 1

infoMethod · 0.45