channelsDir -> channelName
This commit is contained in:
parent
a8671842d9
commit
0893b43140
1 changed files with 2 additions and 2 deletions
|
@ -225,8 +225,8 @@ system("git push origin $rev:refs/heads/$channelName >&2") == 0 or die;
|
||||||
system("git push channels $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
|
# Update channel on channels.nixos.org
|
||||||
$bucketChannels->add_key($channelsDir, $target, { "x-amz-website-redirect-location" => $target });
|
$bucketChannels->add_key($channelName, $target, { "x-amz-website-redirect-location" => $target });
|
||||||
$bucketChannels->add_key("$channelsDir/nixexprs.tar.xz", $target, { "x-amz-website-redirect-location" => "$target/nixexprs.tar.xz" });
|
$bucketChannels->add_key("$channelName/nixexprs.tar.xz", $target, { "x-amz-website-redirect-location" => "$target/nixexprs.tar.xz" });
|
||||||
|
|
||||||
# for nixos channels also create redirects for latest images
|
# for nixos channels also create redirects for latest images
|
||||||
if ($channelName =~ /nixos/) {
|
if ($channelName =~ /nixos/) {
|
||||||
|
|
Loading…
Reference in a new issue