Force MIME type for uploaded ZIP and delta.
parent
69382366f5
commit
34fe5c3668
|
@ -99,7 +99,7 @@ if appcast_revision < latest_revision
|
|||
%x[rm '#{temp_path}/#{feed}.delta']
|
||||
|
||||
#Upload them to S3
|
||||
%x[s3cmd put -P '#{site_dir}/#{feed}_builds/#{filename}' '#{site_dir}/#{feed}_builds}/#{filename_delta}' s3://balde.losno.co/cog/ --signature-v2]
|
||||
%x[s3cmd put -P -m application/octet-stream '#{site_dir}/#{feed}_builds/#{filename}' '#{site_dir}/#{feed}_builds}/#{filename_delta}' s3://balde.losno.co/cog/ --signature-v2]
|
||||
|
||||
#Clean up
|
||||
%x[rm -rf '#{temp_path}/Cog.old' '#{temp_path}/Cog.app']
|
||||
|
|
Loading…
Reference in New Issue