MCPcopy Create free account
hub / github.com/YesianRohn/TextSSR / post_release_work

Function post_release_work

diffusers/utils/release.py:132–145  ·  view source on GitHub ↗

Do all the necessary post-release steps.

()

Source from the content-addressed store, hash-verified

130
131
132def 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`.")

Callers 1

release.pyFile · 0.85

Calls 2

get_versionFunction · 0.85
global_version_updateFunction · 0.85

Tested by

no test coverage detected