Commit 415bc628 authored by intrigeri's avatar intrigeri

Release process: generate UDFs to non-final releases from any supported previous version

This fixes an over-eager optimization implement
in 806f17d4.

Closes #17921
parent 8976163c
......@@ -115,10 +115,14 @@ method run () {
for my $channel (qw{alpha stable}) {
for my $previous_version (@{$self->previous_versions}) {
# Only generate an UDF on the alpha channel if the previous
# version actually uses that channel, i.e. it is not a final one.
# Only generate an UDF to a stable version on the alpha channel
# if the previous version actually uses that channel,
# i.e. it is not a final one. However, when releasing a non-final
# version, generate a UDF on the alpha channel for any previous
# version, so that users can follow the instructions in the call
# for testing to automatically upgrade to a RC.
# The version regexp must be the same as in auto/config.
next if $channel eq 'alpha' &&
next if $self->channel eq 'stable' && $channel eq 'alpha' &&
$previous_version !~ /~(?:alpha|beta|rc)[0-9]*$/;
say STDERR q{* Updating upgrade-description file for previous },
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment