Clean README in post release job as well. (#17519)
This commit is contained in:
parent
216499bfcc
commit
f128ccb997
2
setup.py
2
setup.py
|
@ -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.
|
||||
|
||||
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.
|
||||
"""
|
||||
|
||||
|
|
|
@ -123,7 +123,7 @@ def pre_release_work(patch=False):
|
|||
print(f"Updating version to {version}.")
|
||||
global_version_update(version, patch=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()
|
||||
|
||||
|
||||
|
@ -141,6 +141,8 @@ def post_release_work():
|
|||
|
||||
print(f"Updating version to {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__":
|
||||
|
|
Loading…
Reference in New Issue