From fec4a6b5ea3b467599b31e4ebb352a081af6dee0 Mon Sep 17 00:00:00 2001 From: Alex Merkulov Date: Thu, 7 Nov 2019 18:44:43 +0200 Subject: [PATCH] Update Makefile --- Makefile | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/Makefile b/Makefile index f22468f8..9acca59d 100644 --- a/Makefile +++ b/Makefile @@ -1,17 +1,6 @@ RELEASE_VERSION := $(shell cat VERSION) tag: -ifeq ($(OS),Darwin) - sed -i "" -e "s/version:.*/version: $(RELEASE_VERSION)/" Chart.yaml - sed -i "" -e "s/tag: .*/tag: $(RELEASE_VERSION)/" values.yaml -else ifeq ($(OS),Linux) - sed -i -e "s/version:.*/version: $(RELEASE_VERSION)/" Chart.yaml - sed -i -e "s|repository: .*|repository: $(DOCKER_REGISTRY)/$(ORG)/$(APP_NAME)|" values.yaml - sed -i -e "s/tag: .*/tag: $(RELEASE_VERSION)/" values.yaml -else - echo "platfrom $(OS) not supported to release from" - exit -1 -endif git add --all git commit -m "release $(RELEASE_VERSION)" --allow-empty # if first release then no verion update is performed git tag -fa v$(RELEASE_VERSION) -m "Release version $(RELEASE_VERSION)"