diff --git a/Makefile b/Makefile index e2058430feb95022cc85a6b5122a118873936728..3ccaf07d85c1ba7577c4f66b1037847471fb23fb 100644 --- a/Makefile +++ b/Makefile @@ -101,9 +101,10 @@ make-a-release: ## Step through the process of bumping .release and creating a t echo "$(GREEN) OK - ✨ bumping patch on project .release file and updating Helm Charts ...$(NORMAL)"; \ make bump-patch-release && make helm-set-release; \ NEW_VERSION=$$(. $(RELEASE_SUPPORT) ; RELEASE_CONTEXT_DIR=$(RELEASE_CONTEXT_DIR) setContextHelper; getVersion); \ - sed -i.x -e "s/^ version:.*/ version: ${NEW_VERSION}/g" charts/ska-tango-base/Chart.yaml; \ + sed -i.x -e "N;s/\(name: ska-tango-util.*version:\).*/\1 $${NEW_VERSION}/;P;D" charts/ska-tango-base/Chart.yaml; \ rm -f charts/*/Chart.yaml.x; \ printf "\n $(LIME_YELLOW)✋ The updated git status (outstanding) is:$(NORMAL) \n $$(git status -b) \n"; \ + printf "\n $(LIME_YELLOW)✋ The git diff is:$(NORMAL) \n $$(git diff) \n"; \ else \ printf "$(RED) 😱 OK - aborting$(NORMAL).\n 💀"; \ exit 1; \ @@ -130,7 +131,6 @@ make-a-release: ## Step through the process of bumping .release and creating a t exit 1; \ fi; - clean: ## clean out references to chart tgz's @cd charts/ && rm -f ./*/charts/*.tgz ./*/Chart.lock ./*/requirements.lock