Skip to content

Commit

Permalink
Patch Antora directories only
Browse files Browse the repository at this point in the history
  • Loading branch information
alandefreitas committed Jan 10, 2024
1 parent 6b9545a commit 81d499e
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions ci_boost_release.py
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -700,9 +700,15 @@ def command_build(self):
release_lib_docs = os.path.join(
self.releases_dir, self.boost_release_name, "libs"
)
shutil.copytree(
antora_lib_docs, release_lib_docs, symlinks=False, dirs_exist_ok=True
)
for d in os.listdir(antora_lib_docs):
if not os.path.isdir(os.path.join(antora_lib_docs, d)):
continue
shutil.copytree(
os.path.join(antora_lib_docs, d),
os.path.join(release_lib_docs, d),
symlinks=False,
dirs_exist_ok=True,
)

packages = []
archive_files = []
Expand Down

0 comments on commit 81d499e

Please sign in to comment.