From 7d0785763d6756aec6a50e545222f8e0d4bc6c68 Mon Sep 17 00:00:00 2001 From: Tonni Follmann Date: Sun, 24 Mar 2024 11:15:48 +0100 Subject: [PATCH] change chart name in bump-versionsh and release filenames in makefile to tofu-controller --- Makefile | 8 ++++---- tools/bump-version.sh | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 567a75ec7..397da5c62 100644 --- a/Makefile +++ b/Makefile @@ -287,10 +287,10 @@ endef release-manifests: rm -rf ./config/release || true mkdir ./config/release - kustomize build ./config/crd > ./config/release/tf-controller.crds.yaml - kustomize build ./config/rbac > ./config/release/tf-controller.rbac.yaml - kustomize build ./config/manager > ./config/release/tf-controller.deployment.yaml - kustomize build ./config/package > ./config/release/tf-controller.packages.yaml + kustomize build ./config/crd > ./config/release/tofu-controller.crds.yaml + kustomize build ./config/rbac > ./config/release/tofu-controller.rbac.yaml + kustomize build ./config/manager > ./config/release/tofu-controller.deployment.yaml + kustomize build ./config/package > ./config/release/tofu-controller.packages.yaml # Helm SRC_ROOT = $(shell git rev-parse --show-toplevel) diff --git a/tools/bump-version.sh b/tools/bump-version.sh index b41c73e43..805534fb3 100755 --- a/tools/bump-version.sh +++ b/tools/bump-version.sh @@ -2,10 +2,10 @@ VERSION=$1 -yq e -i ".version=\"${VERSION#v}\"" charts/tf-controller/Chart.yaml -yq e -i ".appVersion=\"$VERSION\"" charts/tf-controller/Chart.yaml -yq e -i ".image.tag=\"$VERSION\"" charts/tf-controller/values.yaml -yq e -i ".runner.image.tag=\"$VERSION\"" charts/tf-controller/values.yaml +yq e -i ".version=\"${VERSION#v}\"" charts/tofu-controller/Chart.yaml +yq e -i ".appVersion=\"$VERSION\"" charts/tofu-controller/Chart.yaml +yq e -i ".image.tag=\"$VERSION\"" charts/tofu-controller/values.yaml +yq e -i ".runner.image.tag=\"$VERSION\"" charts/tofu-controller/values.yaml yq e -i ".images[0].newTag=\"$VERSION\"" config/manager/kustomization.yaml yq e -i ".images[0].newTag=\"$VERSION\"" config/branch-planner/kustomization.yaml