Skip to content

Commit

Permalink
change chart name in bump-versionsh and release filenames in makefile…
Browse files Browse the repository at this point in the history
… to tofu-controller
  • Loading branch information
ilithanos committed Mar 24, 2024
1 parent 976cda8 commit 7d07857
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
8 changes: 4 additions & 4 deletions tools/bump-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 7d07857

Please sign in to comment.