From 411b1db0087de3d778ad2b0d42dfd196e1c5aa2c Mon Sep 17 00:00:00 2001 From: Lance Bragstad Date: Mon, 21 Nov 2022 13:57:03 -0600 Subject: [PATCH] Add preamble.json to release targets We need to keep track of the version number in preamble.json for the operator index image. Let's make sure we add it to the makefile targets for releasing the operator so that it's included in the release commit. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d10c8fc1..42bf59b1 100644 --- a/Makefile +++ b/Makefile @@ -459,7 +459,7 @@ git-release: fetch-git-tags package-version-to-tag changelog git checkout -b "release-v$(TAG)" sed -i "s/\(.*Version = \"\).*/\1$(TAG)\"/" version/version.go sed -i "s/\(.*VERSION?=\).*/\1$(TAG)/" version.Makefile - git add version* bundle CHANGELOG.md config/manifests/bases + git add version* bundle CHANGELOG.md config/manifests/bases catalog/preamble.json git restore config/manager/kustomization.yaml .PHONY: fetch-git-tags