Skip to content

Commit 4ebe798

Browse files
sguggerLysandreJik
andauthored
Fix release utils (huggingface#13337)
* Fix release utils * Update docs/source/conf.py Co-authored-by: Lysandre Debut <lysandre@huggingface.co> Co-authored-by: Lysandre Debut <lysandre@huggingface.co>
1 parent c4ecd23 commit 4ebe798

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
# The short X.Y version
2828
version = ""
2929
# The full version, including alpha/beta/rc tags
30-
release = u'4.7.0'
30+
release = "4.9.2"
3131

3232

3333

utils/release.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"examples": (re.compile(r'^check_min_version\("[^"]+"\)\s*$', re.MULTILINE), 'check_min_version("VERSION")\n'),
2727
"init": (re.compile(r'^__version__\s+=\s+"([^"]+)"\s*$', re.MULTILINE), '__version__ = "VERSION"\n'),
2828
"setup": (re.compile(r'^(\s*)version\s*=\s*"[^"]+",', re.MULTILINE), r'\1version="VERSION",'),
29-
"doc": (re.compile(r'^(\s*)release\s*=\s*"[^"]+"$', re.MULTILINE), "release = u'VERSION'\n"),
29+
"doc": (re.compile(r'^(\s*)release\s*=\s*"[^"]+"$', re.MULTILINE), 'release = "VERSION"\n'),
3030
}
3131
REPLACE_FILES = {
3232
"init": "src/transformers/__init__.py",

0 commit comments

Comments
 (0)