diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2023-06-06 14:03:24 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2023-06-06 14:03:24 +0200 |
commit | d14f993a768452e6dfc34e3534aac8878fc711e6 (patch) | |
tree | f9db96abc0eec5c89b9516ed0f51d2c989aa2912 /maintainers | |
parent | 42e908a3081a040619d5f65ce52d08cb1e29397d (diff) |
Fix MIME type
Diffstat (limited to 'maintainers')
-rwxr-xr-x | maintainers/upload-release.pl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/maintainers/upload-release.pl b/maintainers/upload-release.pl index 2c6f8ad4f..4263a6cd2 100755 --- a/maintainers/upload-release.pl +++ b/maintainers/upload-release.pl @@ -205,8 +205,7 @@ for my $fn (glob "$tmpDir/*") { my $configuration = (); $configuration->{content_type} = "application/octet-stream"; - if ($fn =~ /.sha256|install/) { - # Text files + if ($fn =~ /.sha256|install|\.nix$/) { $configuration->{content_type} = "text/plain"; } |