From eba830a2204422b6cd70b9f3e6ee89dffaeaebdd Mon Sep 17 00:00:00 2001 From: w-bonelli Date: Fri, 30 Jun 2023 13:38:42 -0400 Subject: [PATCH] fix distname subbed into release notes (include ostag) --- distribution/update_version.py | 2 +- doc/ReleaseNotes/ReleaseNotes.tex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/distribution/update_version.py b/distribution/update_version.py index 8caf812a174..812c609a1bf 100755 --- a/distribution/update_version.py +++ b/distribution/update_version.py @@ -157,7 +157,7 @@ def update_meson_build(version: Version): def update_version_tex(version: Version, timestamp: datetime): path = project_root_path / "doc" / "version.tex" with open(path, "w") as f: - line = "\\newcommand{\\modflowversion}{mf" + f"{str(version)}" + "}" + line = "\\newcommand{\\modflowversion}{mf" + str(version) + "\\_[ostag]}" f.write(f"{line}\n") line = ( "\\newcommand{\\modflowdate}{" + f"{timestamp.strftime('%B %d, %Y')}" + "}" diff --git a/doc/ReleaseNotes/ReleaseNotes.tex b/doc/ReleaseNotes/ReleaseNotes.tex index 95d18e90f8d..350bcc40224 100644 --- a/doc/ReleaseNotes/ReleaseNotes.tex +++ b/doc/ReleaseNotes/ReleaseNotes.tex @@ -237,7 +237,7 @@ \section{Distribution File} % folder structured created by python script \input{folder_struct.tex} -It is recommended that no user files are kept in the \modflowversion~directory structure. If you do plan to put your own files in the \modflowversion~directory structure, do so only by creating additional subdirectories. +It is recommended that no user files are kept in the release directory. If you do plan to put your own files in the release directory, do so only by creating additional subdirectories. % ------------------------------------------------- \section{Installation and Execution}