aboutsummaryrefslogtreecommitdiff
path: root/maintainers
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2023-06-06 14:03:24 +0200
committerEelco Dolstra <edolstra@gmail.com>2023-06-06 14:03:24 +0200
commitd14f993a768452e6dfc34e3534aac8878fc711e6 (patch)
treef9db96abc0eec5c89b9516ed0f51d2c989aa2912 /maintainers
parent42e908a3081a040619d5f65ce52d08cb1e29397d (diff)
Fix MIME type
Diffstat (limited to 'maintainers')
-rwxr-xr-xmaintainers/upload-release.pl3
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";
}