Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
867f3950
Unverified
Commit
867f3950
authored
Mar 25, 2022
by
Sylvain Gugger
Committed by
GitHub
Mar 25, 2022
Browse files
Rename master to main for notebooks links and leftovers (#16397)
parent
7e749047
Changes
22
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
39 deletions
+39
-39
notebooks/README.md
notebooks/README.md
+37
-37
utils/release.py
utils/release.py
+2
-2
No files found.
notebooks/README.md
View file @
867f3950
This diff is collapsed.
Click to expand it.
utils/release.py
View file @
867f3950
...
@@ -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_ma
ster
_ref_in_model_list
():
def
clean_ma
in
_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_ma
ster
_ref_in_model_list
()
clean_ma
in
_ref_in_model_list
()
def
post_release_work
():
def
post_release_work
():
...
...
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment