lib/dpl/provider/elastic_beanstalk.rb in dpl-1.7.9.travis.654.1 vs lib/dpl/provider/elastic_beanstalk.rb in dpl-1.7.9.travis.657.1
- old
+ new
@@ -92,13 +92,15 @@
obj.write(Pathname.new(file))
obj
end
def create_app_version(s3_object)
+ # Elastic Beanstalk doesn't support descriptions longer than 200 characters
+ description = commit_msg[0, 200]
options = {
:application_name => app_name,
:version_label => version_label,
- :description => commit_msg,
+ :description => description,
:source_bundle => {
:s3_bucket => bucket_name,
:s3_key => s3_object.key
},
:auto_create_application => false