lib/softcover/commands/publisher.rb in softcover-0.9.20 vs lib/softcover/commands/publisher.rb in softcover-0.9.21

- old
+ new

@@ -12,10 +12,13 @@ require 'curb' unless options[:quiet] || options[:silent] puts "Uploading #{current_book.uploader.file_count} files " \ "(#{as_size current_book.uploader.total_size}):" end + url = current_book.upload!(options) + current_book.process_media_directory "ebooks" + unless options[:quiet] || options[:silent] puts "Published! #{url}" end else puts "Errors: #{current_book.errors}"