diff --git a/src/autoscaler/Makefile b/src/autoscaler/Makefile index 0483c4840b..3fe159192e 100644 --- a/src/autoscaler/Makefile +++ b/src/autoscaler/Makefile @@ -173,10 +173,11 @@ mta-logs: .PHONY: mta-build mta-build: mta-build-clean @echo "bulding mtar file for version: $(VERSION)" - @cp mta.tpl.yaml mta.yaml - @sed -i 's/VERSION/$(VERSION)/g' mta.yaml - @mbt build - @mkdir -p "${PWD}/$(DEST)" && mv ${PWD}/mta_archives/com.github.cloudfoundry.app-autoscaler-release_$(VERSION).mtar ${PWD}/$(DEST)/app-autoscaler-release-v$(VERSION).mtar + cp mta.tpl.yaml mta.yaml + sed -i 's/VERSION/$(VERSION)/g' mta.yaml + mkdir -p $(DEST) + mbt build + @mv mta_archives/com.github.cloudfoundry.app-autoscaler-release_$(VERSION).mtar $(DEST)/app-autoscaler-release-v$(VERSION).mtar mta-build-clean: rm -rf mta_archives