From 75d0e3d358f56e13d672de0eb41b4b351c600128 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20S=C4=99k?= Date: Mon, 12 Aug 2019 14:01:02 +0200 Subject: [PATCH] Fix backup/pvc/Makefile bump-version goal --- backup/pvc/Makefile | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/backup/pvc/Makefile b/backup/pvc/Makefile index a951f477..cf19a7c1 100644 --- a/backup/pvc/Makefile +++ b/backup/pvc/Makefile @@ -130,16 +130,11 @@ docker-run: docker-build ## Run the container in docker, you can use EXTRA_ARGS BUMP := patch bump-version: ## Bump the version in the version file. Set BUMP to [ patch | major | minor ] @echo "+ $@" - @go get -u github.com/jessfraz/junk/sembump # update sembump tool $(eval NEW_VERSION=$(shell sembump --kind $(BUMP) $(VERSION))) @echo "Bumping VERSION.txt from $(VERSION) to $(NEW_VERSION)" echo $(NEW_VERSION) > VERSION.txt - @echo "Updating version from $(VERSION) to $(NEW_VERSION) in README.md" - sed -i s/$(VERSION)/$(NEW_VERSION)/g README.md - sed -i s/$(VERSION)/$(NEW_VERSION)/g deploy/operator.yaml - git add VERSION.txt README.md deploy/operator.yaml - git commit -vaem "Bump version to $(NEW_VERSION)" - @echo "Run make tag to create and push the tag for new version $(NEW_VERSION)" + git add VERSION.txt + git commit -vaem "Bump backup PVC version to $(NEW_VERSION)" .PHONY: tag tag: ## Create a new git tag to prepare to build a release