Verified Commit 231ac78e authored by boklm's avatar boklm
Browse files

Bug 32805: Make creation of a downloads.json file optional

When creating update responses for nightly builds, we don't want to
create a downloads.json file, so we make that optional.
parent 64a1bed9
---
tmp_dir: '[% c("tmp_dir") %]'
create_downloads_json: 1
appname_marfile: tor-browser
appname_bundle_osx: TorBrowser
appname_bundle_linux: tor-browser
......
......@@ -417,6 +417,7 @@ sub write_htaccess {
sub write_downloads_json {
my ($config, @channels) = @_;
return unless $config->{create_downloads_json};
@channels = keys %{$config->{channels}} unless @channels;
foreach my $channel (@channels) {
my $version = $config->{channels}{$channel};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment