We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 951d2c1 commit edbc4d8Copy full SHA for edbc4d8
Makefile
@@ -24,7 +24,7 @@ $(TARGETS:%=%-push): $(TARGETS:%=%-checkout)
24
$(TARGETS:%=%-checkout):
25
test -d stack/$(@:%-checkout=%) || \
26
git clone https://github.com/elastic/$(@:%-checkout=%)-docker.git stack/$(@:%-checkout=%)
27
- (cd stack/$(@:%-checkout=%) && git fetch && git reset --hard origin/$(GIT_BRANCH))
+ (cd stack/$(@:%-checkout=%) && git fetch && git reset --hard && git checkout origin/$(GIT_BRANCH))
28
29
$(TARGETS:%=%-clean):
30
rm -rf stack/$(@:%-clean=%)
0 commit comments