Skip to content

Commit 32c9460

Browse files
fix: remove the 'bundle' path segment
1 parent 23b84c1 commit 32c9460

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/tasks/docs.thor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)