Skip to content

Commit e477f52

Browse files
committed
Add version to filename of files downloaded
1 parent 69bcbc0 commit e477f52

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

build.bat

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@ SET KIBANA_VERSION=4.1.1
1111
rem ---------- Download packages ----------
1212
if not exist "downloads" mkdir downloads
1313

14-
if not exist "downloads\elasticsearch.zip" %CURL% "https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-%ELASTIC_SEARCH_VERSION%.zip" -o downloads\elasticsearch.zip
15-
if not exist "downloads\logstash.zip" %CURL% "https://download.elastic.co/logstash/logstash/logstash-%LOGSTASH_VERSION%.zip" -o downloads\logstash.zip
16-
if not exist "downloads\kibana.zip" %CURL% "https://download.elastic.co/kibana/kibana/kibana-%KIBANA_VERSION%-windows.zip" -o downloads\kibana.zip
14+
if not exist "downloads\elasticsearch-%ELASTIC_SEARCH_VERSION%.zip" %CURL% "https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-%ELASTIC_SEARCH_VERSION%.zip" -o downloads\elasticsearch-%ELASTIC_SEARCH_VERSION%.zip
15+
if not exist "downloads\logstash-%LOGSTASH_VERSION%.zip" %CURL% "https://download.elastic.co/logstash/logstash/logstash-%LOGSTASH_VERSION%.zip" -o downloads\logstash-%LOGSTASH_VERSION%.zip
16+
if not exist "downloads\kibana-%KIBANA_VERSION%.zip" %CURL% "https://download.elastic.co/kibana/kibana/kibana-%KIBANA_VERSION%-windows.zip" -o downloads\kibana-%KIBANA_VERSION%.zip
1717
rem --------------------------------------
1818

1919
rem ---------- Unzip packages ----------
2020
rmdir /Q /S temp
2121
mkdir temp
2222

23-
%ZIP% x -otemp downloads\elasticsearch.zip
24-
%ZIP% x -otemp downloads\logstash.zip
25-
%ZIP% x -otemp downloads\kibana.zip
23+
%ZIP% x -otemp downloads\elasticsearch-%ELASTIC_SEARCH_VERSION%.zip
24+
%ZIP% x -otemp downloads\logstash-%LOGSTASH_VERSION%.zip
25+
%ZIP% x -otemp downloads\kibana-%KIBANA_VERSION%.zip
2626

2727
move temp\elasticsearch-%ELASTIC_SEARCH_VERSION% temp\elasticsearch
2828
move temp\logstash-%LOGSTASH_VERSION% temp\logstash

0 commit comments

Comments
 (0)