lib/glitter.rb in glitter-0.0.8 vs lib/glitter.rb in glitter-0.0.9

- old
+ new

@@ -177,10 +177,10 @@ desc "push", "pushes a build to S3 with release notes." method_option :release_notes, :type => :string, :aliases => "-m" def push puts "Pushing app #{app.latest.object_name}" # Push the latest release with release notes - app.latest.notes = options[:release_notes] if options[:release_notes].present? + app.latest.notes = options[:release_notes] if options[:release_notes] app.latest.push puts "Asset pushed to #{app.latest.url}" app.latest.head # Sets this release as the head. puts "Updated head #{app.latest.head.url} to #{app.latest.url}" # Update the appcast file \ No newline at end of file