From 2cf00bfa5629f2e16501ce71435a607c73da2c3a Mon Sep 17 00:00:00 2001 From: Jonathan Knight Date: Tue, 26 Aug 2025 15:53:47 +0300 Subject: [PATCH] Create new version PR make target --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a8856577..e52bb49d 100644 --- a/Makefile +++ b/Makefile @@ -3056,9 +3056,12 @@ new-version: ## Update the Operator Version (must be run with NEXT_VERSION=x.y.z GIT_BRANCH="version-update-$(VERSION)" GIT_LABEL="version-update" -.PHONY: new-version-pr -new-version-pr: ## Create a PR to update the version +.PHONY: new-version-branch +new-version-branch: ## Create a PR to update the version git checkout -b $(GIT_BRANCH) + +.PHONY: new-version-pr +new-version-pr: new-version-branch new-version ## Create a PR to update the version git commit -am "Version update to $(VERSION)" git push --set-upstream origin $(GIT_BRANCH)