fix a typo and also add redirect for $channel/nixexprs.tar.xz

This commit is contained in:
Rok Garbas 2020-03-06 10:24:35 +01:00
parent 3ef68861db
commit a055dc2cdc
No known key found for this signature in database
GPG key ID: A0E01EF44C27BF00

View file

@ -225,4 +225,5 @@ system("git push origin $rev:refs/heads/$channelName >&2") == 0 or die;
system("git push channels $rev:refs/heads/$channelName >&2") == 0 or die;
# Update channel on channels.nixos.org
$bucketChannels->add_key($channelsDir, $target, { "x-amz-website-redirect-location header" => $target });
$bucketChannels->add_key($channelsDir, $target, { "x-amz-website-redirect-location" => $target });
$bucketChannels->add_key("$channelsDir/nixexprs.tar.xz", $target, { "x-amz-website-redirect-location" => $target });