channelsDir -> channelName

This commit is contained in:
Rok Garbas 2020-03-10 12:49:52 +01:00
parent 1729eb92c8
commit a8671842d9
No known key found for this signature in database
GPG key ID: A0E01EF44C27BF00

View file

@ -237,8 +237,8 @@ if ($channelName =~ /nixos/) {
) {
for my $arch ("x86_64", "i686") {
for my $format ("ova", "iso") {
$bucketChannels->add_key("$channelsDir/latest-$artifact-$arch-linux.$format", "", {"x-amz-website-redirect-location" => "$target/$artifact-$releaseThingy-$arch-linux.$format" });
$bucketChannels->add_key("$channelsDir/latest-$artifact-$arch-linux.$format.sha256", "", {"x-amz-website-redirect-location" => "$target/$artifact-$releaseThingy-$arch-linux.$format.sha256" });
$bucketChannels->add_key("$channelName/latest-$artifact-$arch-linux.$format", "", {"x-amz-website-redirect-location" => "$target/$artifact-$releaseThingy-$arch-linux.$format" });
$bucketChannels->add_key("$channelName/latest-$artifact-$arch-linux.$format.sha256", "", {"x-amz-website-redirect-location" => "$target/$artifact-$releaseThingy-$arch-linux.$format.sha256" });
}
}
}