Skip to content

Commit ed1a370

Browse files
Added note about ticket numbers on macro upgrade instructions (#354)
1 parent abd14f6 commit ed1a370

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

source/WorkingPractices/macros.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ Within the file a blank upgrade macro will typically look like this:
4343
# Input your macro commands here
4444
return config, self.reports
4545
46+
Note: The BEFORE_TAG should match the AFTER_TAG of the previous macro in the chain. So if this is not the first macro since the release then the BEFORE_TAG will be the version number with an added ticket number as well. For example:
47+
48+
.. code-block::
49+
50+
BEFORE_TAG = "vn13.0_t123"
4651
4752
Example of an upgrade macro
4853
---------------------------
@@ -132,4 +137,4 @@ The ``vnXX.Y_tTTTT`` option must match the After Tag of your upgrade macro. When
132137

133138
.. tip::
134139

135-
The apply_macros script requires python >= 3.9. At the Met Office this can be achieved by ``module load scitools``.
140+
The apply_macros script requires python >= 3.9. At the Met Office this can be achieved by ``module load scitools``.

0 commit comments

Comments
 (0)