Skip to content

Commit ed42020

Browse files
committed
Build each docs version with fresh commit
1 parent 56d72d4 commit ed42020

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build_docs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1117,7 +1117,6 @@ def build_docs(args) -> bool:
11171117
cpython_repo = Repository(
11181118
"https://github.com/python/cpython.git", args.build_root / "cpython"
11191119
)
1120-
cpython_repo.update()
11211120
while todo:
11221121
version, language = todo.pop()
11231122
logging.root.handlers[0].setFormatter(
@@ -1129,6 +1128,7 @@ def build_docs(args) -> bool:
11291128
with sentry_sdk.configure_scope() as scope:
11301129
scope.set_tag("version", version.name)
11311130
scope.set_tag("language", language.tag)
1131+
cpython_repo.update()
11321132
builder = DocBuilder(
11331133
version, versions, language, languages, cpython_repo, **vars(args)
11341134
)

0 commit comments

Comments
 (0)