We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80c4fb3 commit 9514d7eCopy full SHA for 9514d7e
1 file changed
Makefile
@@ -1,10 +1,11 @@
1
SHELL=/bin/bash
2
+
3
ifndef ELASTIC_VERSION
-ELASTIC_VERSION=5.3.0
4
+ELASTIC_VERSION := $(shell awk 'BEGIN { FS = "=" } /ELASTIC_VERSION/ { print $$2 }' .env)
5
endif
6
export ELASTIC_VERSION
7
-BRANCH=`echo $$ELASTIC_VERSION | egrep --only-matching '^[0-9]+[.][0-9]+'`
8
+BRANCH := `echo $$ELASTIC_VERSION | egrep --only-matching '^[0-9]+[.][0-9]+'`
9
10
TARGETS := elasticsearch logstash kibana beats
11
0 commit comments