update_version
Update the version in the giving py version file.
def update_version(
new_version: str,
dry_run: bool
) - > None
Update the version in the giving py version file.
Parameters
| Name | Type | Description |
|---|---|---|
| new_version | str | The semantic version string to be written into the package version file. |
| dry_run | bool | If true, prints the proposed changes to stdout without modifying the file or updating the lock file. |
Returns
| Type | Description |
|---|---|
None | Nothing is returned; the function performs file I/O and executes a shell command. |