UMDP Release#
Create a ticket and a Head of Trunk branch of the UM documentation.
You will need to update a few files:
For
web/js/um-version.jsupdate the version number, release name, and standard suite revision numbers.For
template/UMDP.cls, update the version number.For the x-series documentation, you will at minimum need to check and update:
source/X04/X4-fcm.texRevision number and version numbersource/X04/X4-prerequisites.texrose and cylc versions (found in the release notes).source/X04/X4.texUM, gcom, shumlib and UKCA versions (found in the release notes).source/X06/X6.texUM version number.source/X10/X10.texUM, JULES and UKCA version numbers, gcom branch URL.
It is also worth checking no URLs are out of date.
Get ticket reviewed and committed.
Tag the documentation trunk by adding the correct
vnXX.Xkeyword.To Publish the docs:
Get a new copy of the head of the docs trunk
From the top level, run
build_umdoc.py allto build everythingRemove the output logs in
output/log/*- just to save a bit of space.Checkout a copy of the published documentation - just take the UM part of it as the whole thing is massive! i.e.
fcm co https://code.metoffice.gov.uk/svn/doc/um published_umWe keep the 3 most recent UM versions so delete one,
fcm del vnXX.Y-2Edit the
index.htmlfile to remove the oldest version and add a new line for the new one.Copy the
outputdirectory that was created by the build script earlier into avnXX.Ydirectory and make sure it is added to the version control.Finally, update the
latestsymlink to point to the newest version,ln -s vnXX.Y latestFinally, commit the changes and check the output at https://code.metoffice.gov.uk/doc/