File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ class DocsCLI < Thor
203203 docs . each do |doc |
204204 filename = "#{ doc . path } .tar.gz"
205205 print "[S3 bundle] Uploading #{ filename } ..."
206- cmd = "aws s3 cp #{ File . join ( Docs . store_path , filename ) } s3://devdocs-downloads/bundles/ #{ filename } --profile devdocs"
206+ cmd = "aws s3 cp #{ File . join ( Docs . store_path , filename ) } s3://devdocs-downloads/#{ filename } --profile devdocs"
207207 cmd << ' --dryrun' if options [ :dryrun ]
208208 system ( cmd )
209209 end
@@ -337,7 +337,7 @@ class DocsCLI < Thor
337337
338338 def download_doc ( doc )
339339 target_path = File . join ( Docs . store_path , doc . path )
340- open "https://downloads.devdocs.io/bundles/ #{ doc . path } .tar.gz" do |file |
340+ open "https://downloads.devdocs.io/#{ doc . path } .tar.gz" do |file |
341341 FileUtils . mkpath ( target_path )
342342 file . close
343343 tar = UnixUtils . gunzip ( file . path )
You can’t perform that action at this time.
0 commit comments