wrong content

This commit is contained in:
Rok Garbas 2020-03-10 12:52:59 +01:00
parent 15ff4aff86
commit 4d53dba964
No known key found for this signature in database
GPG key ID: A0E01EF44C27BF00

View file

@ -226,7 +226,7 @@ system("git push channels $rev:refs/heads/$channelName >&2") == 0 or die;
# Update channel on channels.nixos.org
$bucketChannels->add_key($channelName, $target, { "x-amz-website-redirect-location" => $target }) or die $bucketChannels->err . ": " . $bucketChannels->errstr;
$bucketChannels->add_key("$channelName/nixexprs.tar.xz", $target, { "x-amz-website-redirect-location" => "$target/nixexprs.tar.xz" }) or die $bucketChannels->err . ": " . $bucketChannels->errstr;
$bucketChannels->add_key("$channelName/nixexprs.tar.xz", "$target/nixexprs.tar.xz", { "x-amz-website-redirect-location" => "$target/nixexprs.tar.xz" }) or die $bucketChannels->err . ": " . $bucketChannels->errstr;
# for nixos channels also create redirects for latest images
if ($channelName =~ /nixos/) {