mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-21 13:33:08 +00:00
os_release: update for osbuild change to ISO names
Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
b8fddfa265
commit
41f2adaf46
@ -50,6 +50,9 @@ sub run {
|
||||
my ($cannedver, $cannednum) = (split /-/, $isovar)[-2, -1];
|
||||
# Get rid of the ".iso" part of the tag.
|
||||
$cannednum =~ s/\.iso//g;
|
||||
# also get rid of the arch, which osbuild puts in here
|
||||
my $arch = get_var("ARCH");
|
||||
$cannednum =~ s/\.$arch//g;
|
||||
# Now, we merge the fields into one expression to create the correct canned tag
|
||||
# that will contain both the version number and the build number.
|
||||
my $cannedtag = "$cannedver.$cannednum";
|
||||
|
Loading…
Reference in New Issue
Block a user