Do all the necessary post-release steps.
()
| 130 | |
| 131 | |
| 132 | def post_release_work(): |
| 133 | """Do all the necessary post-release steps.""" |
| 134 | # First let's get the current version |
| 135 | current_version = get_version() |
| 136 | dev_version = f"{current_version.major}.{current_version.minor + 1}.0.dev0" |
| 137 | current_version = current_version.base_version |
| 138 | |
| 139 | # Check with the user we got that right. |
| 140 | version = input(f"Which version are we developing now? [{dev_version}]") |
| 141 | if len(version) == 0: |
| 142 | version = dev_version |
| 143 | |
| 144 | print(f"Updating version to {version}.") |
| 145 | global_version_update(version) |
| 146 | |
| 147 | |
| 148 | # print("Cleaning main README, don't forget to run `make fix-copies`.") |
no test coverage detected