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

Rename master to main for notebooks links and leftovers (#16397)

parent 7e749047
This diff is collapsed.
...@@ -66,7 +66,7 @@ def global_version_update(version, patch=False): ...@@ -66,7 +66,7 @@ def global_version_update(version, patch=False):
update_version_in_examples(version) update_version_in_examples(version)
def clean_master_ref_in_model_list(): def clean_main_ref_in_model_list():
"""Replace the links from main doc tp stable doc in the model list of the README.""" """Replace the links from main doc tp stable doc in the model list of the README."""
# If the introduction or the conclusion of the list change, the prompts may need to be updated. # If the introduction or the conclusion of the list change, the prompts may need to be updated.
_start_prompt = "🤗 Transformers currently provides the following architectures" _start_prompt = "🤗 Transformers currently provides the following architectures"
...@@ -124,7 +124,7 @@ def pre_release_work(patch=False): ...@@ -124,7 +124,7 @@ def pre_release_work(patch=False):
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")
clean_master_ref_in_model_list() clean_main_ref_in_model_list()
def post_release_work(): def post_release_work():
......
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