From cab26c4c3b6b3b967f0eaef8f2f4bde3d92e9381 Mon Sep 17 00:00:00 2001 From: Tarun Chinmai Sekar Date: Mon, 24 Jun 2024 19:56:44 -0700 Subject: [PATCH 1/2] Fix release process - remove manifest generation --- Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/Makefile b/Makefile index 784d7286..4725db53 100644 --- a/Makefile +++ b/Makefile @@ -58,7 +58,5 @@ clean: .PHONY: release release: mkdir -p $(RELEASE_DIR) - ./hack/release-yaml.sh $(IMAGE_VERSION) - cp ./pkg/linode-bs/deploy/releases/linode-blockstorage-csi-driver-$(IMAGE_VERSION).yaml ./$(RELEASE_DIR) sed -e 's/appVersion: "latest"/appVersion: "$(IMAGE_VERSION)"/g' ./helm-chart/csi-driver/Chart.yaml tar -czvf ./$(RELEASE_DIR)/helm-chart-$(IMAGE_VERSION).tgz -C ./helm-chart/csi-driver . From 4ebcbf829efff2f9f4cfc97d2c4221197cada040 Mon Sep 17 00:00:00 2001 From: Tarun Chinmai Sekar Date: Mon, 24 Jun 2024 20:01:56 -0700 Subject: [PATCH 2/2] Fix release process - change paths --- Makefile | 2 ++ hack/release-yaml.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4725db53..9e6b6d75 100644 --- a/Makefile +++ b/Makefile @@ -58,5 +58,7 @@ clean: .PHONY: release release: mkdir -p $(RELEASE_DIR) + ./hack/release-yaml.sh $(IMAGE_VERSION) + cp ./internal/driver/deploy/releases/linode-blockstorage-csi-driver-$(IMAGE_VERSION).yaml ./$(RELEASE_DIR) sed -e 's/appVersion: "latest"/appVersion: "$(IMAGE_VERSION)"/g' ./helm-chart/csi-driver/Chart.yaml tar -czvf ./$(RELEASE_DIR)/helm-chart-$(IMAGE_VERSION).tgz -C ./helm-chart/csi-driver . diff --git a/hack/release-yaml.sh b/hack/release-yaml.sh index 175a46c1..175941c6 100755 --- a/hack/release-yaml.sh +++ b/hack/release-yaml.sh @@ -10,7 +10,7 @@ if [[ -z "${TAG}" ]]; then exit 1 fi -RELEASES="pkg/linode-bs/deploy/releases" +RELEASES="internal/driver/deploy/releases" TAGGED_RELEASE="linode-blockstorage-csi-driver-${TAG}.yaml" GENERIC_RELEASE="linode-blockstorage-csi-driver.yaml"