MCPcopy Create free account
hub / github.com/pyca/cryptography / bump_version

Function bump_version

release.py:55–71  ·  view source on GitHub ↗
(new_version: str)

Source from the content-addressed store, hash-verified

53@cli.command()
54@click.argument("new_version")
55def bump_version(new_version: str) -> None:
56 base_dir = pathlib.Path(__file__).parent
57
58 replace_version(base_dir / "pyproject.toml", "version", new_version)
59 replace_version(
60 base_dir / "src/cryptography/__about__.py", "__version__", new_version
61 )
62 replace_version(
63 base_dir / "vectors/pyproject.toml",
64 "version",
65 new_version,
66 )
67 replace_version(
68 base_dir / "vectors/cryptography_vectors/__about__.py",
69 "__version__",
70 new_version,
71 )
72
73
74if __name__ == "__main__":

Callers

nothing calls this directly

Calls 1

replace_versionFunction · 0.85

Tested by

no test coverage detected