1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-03-16 01:44:31 +00:00

rpmostree_rebase: avoid rebase from 42 to 41

it doesn't work, and now 43 is a thing we can use that.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2025-02-27 15:35:41 -08:00
parent 420e19fa6f
commit e51c454e3b

View File

@ -45,6 +45,8 @@ sub run {
elsif ($current =~ "silverblue") {
my $relnum = get_release_number;
$rebase = $relnum - 1;
# special case: rebasing from >41 to 41 doesn't work
$rebase = 43 if ($rebase == 41);
# on update tests, just rebase to the 'official' ref for the
# release, as opposed to the custom ref we used when building;
# this should be more reliable than a different release