Skip to content

Commit

Permalink
Ensure removal of release candidate from What's New title. (#5526)
Browse files Browse the repository at this point in the history
  • Loading branch information
trexfeathers authored Oct 2, 2023
1 parent 78ec427 commit c3412f7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/src/whatsnew/3.7.rst
Original file line number Diff line number Diff line change
@@ -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 <index>`.)
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
5 changes: 5 additions & 0 deletions tools/release_do_nothing.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = (
Expand Down

0 comments on commit c3412f7

Please sign in to comment.