Skip to content

Commit

Permalink
ci(release): fix docs build script (#2201)
Browse files Browse the repository at this point in the history
  • Loading branch information
wpbonelli authored Feb 5, 2025
1 parent 7de09da commit e9c9197
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions distribution/build_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
BIN_PATH = PROJ_ROOT_PATH / "bin"
EXAMPLES_REPO_PATH = PROJ_ROOT_PATH.parent / "modflow6-examples"
DISTRIBUTION_PATH = PROJ_ROOT_PATH / "distribution"
BENCHMARKS_PATH = PROJ_ROOT_PATH / "distribution" / ".benchmarks"
DOCS_PATH = PROJ_ROOT_PATH / "doc"
MF6IO_PATH = DOCS_PATH / "mf6io"
MF6IVAR_PATH = MF6IO_PATH / "mf6ivar"
Expand Down Expand Up @@ -78,10 +77,8 @@ def build_benchmark_tex(
):
"""Build LaTeX files for MF6 performance benchmarks to go into the release notes."""

BENCHMARKS_PATH.mkdir(parents=True, exist_ok=True)
benchmarks_path = BENCHMARKS_PATH / "run-time-comparison.md"

# run benchmarks again if no benchmarks found on GitHub or overwrite requested
benchmarks_path = output_path / "run-time-comparison.md"
if force or not benchmarks_path.is_file():
run_benchmarks(
build_path=PROJ_ROOT_PATH / "builddir",
Expand Down

0 comments on commit e9c9197

Please sign in to comment.