Unverified Commit f128ccb9 authored by Sylvain Gugger's avatar Sylvain Gugger Committed by GitHub
Browse files

Clean README in post release job as well. (#17519)

parent 216499bf
...@@ -63,7 +63,7 @@ To create the package for pypi. ...@@ -63,7 +63,7 @@ To create the package for pypi.
10. Copy the release notes from RELEASE.md to the tag in github once everything is looking hunky-dory. 10. Copy the release notes from RELEASE.md to the tag in github once everything is looking hunky-dory.
11. Run `make post-release` (or, for a patch release, `make post-patch`). If you were on a branch for the release, 11. Run `make post-release` then run `make fix-copies`. If you were on a branch for the release,
you need to go back to main before executing this. you need to go back to main before executing this.
""" """
......
...@@ -123,7 +123,7 @@ def pre_release_work(patch=False): ...@@ -123,7 +123,7 @@ def pre_release_work(patch=False):
print(f"Updating version to {version}.") print(f"Updating version to {version}.")
global_version_update(version, patch=patch) global_version_update(version, patch=patch)
if not patch: if not patch:
print("Cleaning main README") print("Cleaning main README, don't forget to run `make fix-copies`.")
clean_main_ref_in_model_list() clean_main_ref_in_model_list()
...@@ -141,6 +141,8 @@ def post_release_work(): ...@@ -141,6 +141,8 @@ def post_release_work():
print(f"Updating version to {version}.") print(f"Updating version to {version}.")
global_version_update(version) global_version_update(version)
print("Cleaning main README, don't forget to run `make fix-copies`.")
clean_main_ref_in_model_list()
if __name__ == "__main__": if __name__ == "__main__":
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment