Skip to content

Commit

Permalink
Rollback changes in mta release
Browse files Browse the repository at this point in the history
  • Loading branch information
bonzofenix committed Nov 26, 2024
1 parent 2e0835c commit bbe0271
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/autoscaler/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit bbe0271

Please sign in to comment.