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

Function global_version_update

diffusers/utils/release.py:61–66  ·  view source on GitHub ↗

Update the version in all needed files.

(version, patch=False)

Source from the content-addressed store, hash-verified

59
60
61def global_version_update(version, patch=False):
62 """Update the version in all needed files."""
63 for pattern, fname in REPLACE_FILES.items():
64 update_version_in_file(fname, version, pattern)
65 if not patch:
66 update_version_in_examples(version)
67
68
69def clean_main_ref_in_model_list():

Callers 2

pre_release_workFunction · 0.85
post_release_workFunction · 0.85

Calls 2

update_version_in_fileFunction · 0.85

Tested by

no test coverage detected