We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b0d70e commit 4a39126Copy full SHA for 4a39126
rake_tasks/elasticsearch_tasks.rake
@@ -55,7 +55,6 @@ namespace :elasticsearch do
55
json_filename = CURRENT_PATH.join('tmp/artifacts.json')
56
57
# Get version number and build hash of running cluster:
58
- es_info = cluster_info
59
version_number = cluster_info['number']
60
build_hash = cluster_info['build_hash']
61
@@ -74,6 +73,9 @@ namespace :elasticsearch do
74
73
filename = CURRENT_PATH.join("tmp/#{zip_url.split('/').last}")
75
download_file!(zip_url, filename)
76
+ spec = CURRENT_PATH.join('tmp/rest-api-spec')
77
+ FileUtils.remove_dir(spec) if File.directory?(spec)
78
+
79
puts "Unzipping file #{filename}"
80
`unzip -o #{filename} -d tmp/`
81
`rm #{filename}`
0 commit comments