Move release upload to B2
parent
beab7dcf8d
commit
11aa63265d
|
@ -105,14 +105,14 @@ if 1 #appcast_revision < latest_revision
|
||||||
deltas = Dir.entries("#{site_dir}/#{feed}_builds").select { |f| f =~ /\A#{Regexp.escape(deltamask)}.+\.delta\z/ }.map { |f| File.join("#{site_dir}/#{feed}_builds", f) }
|
deltas = Dir.entries("#{site_dir}/#{feed}_builds").select { |f| f =~ /\A#{Regexp.escape(deltamask)}.+\.delta\z/ }.map { |f| File.join("#{site_dir}/#{feed}_builds", f) }
|
||||||
|
|
||||||
#Upload them to S3
|
#Upload them to S3
|
||||||
%x[s3cmd put -P -m application/octet-stream #{deltas.shelljoin} '#{site_dir}/#{feed}_builds/#{filename}' s3://balde.losno.co/cog/]
|
%x[s3cmd put -P -m application/octet-stream #{deltas.shelljoin} '#{site_dir}/#{feed}_builds/#{filename}' s3://balde-losno-co/cog/]
|
||||||
|
|
||||||
#Upload the changelog that Sparkle will display
|
#Upload the changelog that Sparkle will display
|
||||||
%x[s3cmd put -P -m text/html '#{site_dir}/#{feed}_builds/#{filenamedesc}' s3://balde.losno.co/cog/]
|
%x[s3cmd put -P -m text/html '#{site_dir}/#{feed}_builds/#{filenamedesc}' s3://balde-losno-co/cog/]
|
||||||
|
|
||||||
#Clean up
|
#Clean up
|
||||||
%x[rm -rf '#{temp_path}/Cog.app']
|
%x[rm -rf '#{temp_path}/Cog.app']
|
||||||
|
|
||||||
#Upload to S3
|
#Upload to S3
|
||||||
%x[s3cmd put -P -m application/xml '#{site_dir}/#{feed}_builds/#{feed}.xml' s3://balde.losno.co/cog/]
|
%x[s3cmd put -P -m application/xml '#{site_dir}/#{feed}_builds/#{feed}.xml' s3://balde-losno-co/cog/]
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue