X Tutup
Skip to content

Commit 859bf44

Browse files
authored
Merge pull request cli#1738 from Foxboron/morten/accept-tar
shared/upload: Add .tar format
2 parents 458aace + c9b9478 commit 859bf44

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/cmd/release/shared/upload.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ func typeForFilename(fn string) string {
6262
return "application/zip"
6363
case ".js":
6464
return "application/javascript"
65+
case ".tar":
66+
return "application/x-tar"
6567
case ".tgz", ".tar.gz":
6668
return "application/x-gtar"
6769
case ".bz2":

0 commit comments

Comments
 (0)
X Tutup