From 7684ee7324dfbb1b2d8ee935e667a51859e3c5fc Mon Sep 17 00:00:00 2001 From: Martin Yeo Date: Mon, 2 Oct 2023 10:10:07 +0100 Subject: [PATCH] Ensure removal of release candidate from What's New title. --- docs/src/whatsnew/3.7.rst | 10 +++++----- tools/release_do_nothing.py | 5 +++++ 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/docs/src/whatsnew/3.7.rst b/docs/src/whatsnew/3.7.rst index d5ea21f3d7..f1c7fb5f2c 100644 --- a/docs/src/whatsnew/3.7.rst +++ b/docs/src/whatsnew/3.7.rst @@ -1,7 +1,7 @@ .. include:: ../common_links.inc -v3.7 (16 Aug 2023) [release candidate] -************************************** +v3.7 (16 Aug 2023) +****************** This document explains the changes made to Iris for this release (:doc:`View all changes `.) @@ -46,7 +46,7 @@ This document explains the changes made to Iris for this release #. `@rcomer`_ rewrote :func:`~iris.util.broadcast_to_shape` so it now handles lazy data. (:pull:`5307`) - + .. _concat_warnings: #. `@acchamber`_ added error and warning messages about coordinate overlaps to @@ -69,11 +69,11 @@ This document explains the changes made to Iris for this release ============= #. `@acchamber`_ fixed a bug with :func:`~iris.util.unify_time_units` so it does not block - concatenation through different data types in rare instances. (:pull:`5372`) + concatenation through different data types in rare instances. (:pull:`5372`) #. `@acchamber`_ removed some obsolete code that prevented extraction of time points from cubes with bounded times (:pull:`5175`) - + .. _cftime_warnings: #. `@rcomer`_ modified pp-loading to avoid a ``cftime`` warning for non-standard diff --git a/tools/release_do_nothing.py b/tools/release_do_nothing.py index 5d7dd2abf2..afe12a662d 100755 --- a/tools/release_do_nothing.py +++ b/tools/release_do_nothing.py @@ -279,6 +279,11 @@ def finalise_whats_new( whatsnew_title += " [release candidate]" # TODO: automate message = f"In {rsts.release.name}: set the page title to:\n{whatsnew_title}\n" + if not is_release_candidate: + message += ( + "\nBe sure to remove any existing mentions of release " + "candidate from the title.\n" + ) _wait_for_done(message) message = (