Unverified 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
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
---
tmp_dir: '[% c("tmp_dir") %]'
create_downloads_json: 1
appname_marfile: tor-browser
appname_bundle_osx: TorBrowser
appname_bundle_linux: tor-browser
+1 −0
Original line number Diff line number Diff line
@@ -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};