From 93095f8e45d1deb1a7615d624ce3529748618321 Mon Sep 17 00:00:00 2001 From: Chris Moeller Date: Fri, 22 Jul 2016 16:17:40 -0700 Subject: [PATCH] Fix update feed script. --- Scripts/update_feed.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Scripts/update_feed.rb b/Scripts/update_feed.rb index 5aef7a580..daa733508 100755 --- a/Scripts/update_feed.rb +++ b/Scripts/update_feed.rb @@ -99,8 +99,7 @@ if appcast_revision < latest_revision %x[rm '#{temp_path}/#{feed}.delta'] #Upload them to S3 - %x[s3cmd put -P -m application/octet-stream '#{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}' s3://balde.losno.co/cog/ --signature-v2] + %x[s3cmd put -P -m application/octet-stream '#{site_dir}/#{feed}_builds/#{filename_delta}' '#{site_dir}/#{feed}_builds/#{filename}' s3://balde.losno.co/cog/ --signature-v2] #Clean up %x[rm -rf '#{temp_path}/Cog.old' '#{temp_path}/Cog.app']