mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-22 13:11:26 +00:00
Except IoT from the 'no 0.x -release in candidate compose' rule
IoT does nightly Branched and Rawhide composes that are built as RC candidates, for some reason. So let's except it from this check. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
3c44f644a0
commit
fead784087
@ -96,9 +96,9 @@ sub run {
|
|||||||
# ...however, we shouldn't just wave this through if we're
|
# ...however, we shouldn't just wave this through if we're
|
||||||
# an RC candidate or update compose, those should never be
|
# an RC candidate or update compose, those should never be
|
||||||
# done with a 0.x fedora-release-common. so let's blow up
|
# done with a 0.x fedora-release-common. so let's blow up
|
||||||
# here if so
|
# here if so. unless it's IoT, because IoT is weird
|
||||||
my $label = get_var("LABEL");
|
my $label = get_var("LABEL");
|
||||||
if ($label =~ /^(RC|Update)-/) {
|
if ($label =~ /^(RC|Update)-/ && $subvariant ne "IoT") {
|
||||||
die "RC candidate or update compose should not have 0.x versioned fedora-release!";
|
die "RC candidate or update compose should not have 0.x versioned fedora-release!";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user