Skip to content

Commit

Permalink
Add push target
Browse files Browse the repository at this point in the history
For the unified release we need to be able to trigger the individual
push targets for every submodule.

Add extra `push` target while leaving default behavior for `make`
unchanged.
  • Loading branch information
dliappis authored and ninaspitfire committed Mar 19, 2017
1 parent 27034ae commit ba67df5
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ BRANCH=`echo $$ELASTIC_VERSION | egrep --only-matching '^[0-9]+.[0-9]+'`

all: elasticsearch logstash kibana beats

push: elasticsearch-push logstash-push kibana-push beats-push

submodules:
git submodule update --init --recursive
git submodule foreach git fetch --all
Expand All @@ -16,11 +18,23 @@ submodules:
elasticsearch: submodules
make --directory=elasticsearch

elasticsearch-push: elasticsearch
make push --directory=elasticsearch

logstash: submodules
make --directory=logstash

logstash-push: submodules
make push --directory=logstash

kibana: submodules
make --directory=kibana

kibana-push: submodules
make push --directory=kibana

beats: submodules
make --directory=beats

beats-push: submodules
make push --directory=beats

0 comments on commit ba67df5

Please sign in to comment.