Skip to content

Commit

Permalink
Fix release process - change paths
Browse files Browse the repository at this point in the history
  • Loading branch information
tchinmai7 committed Jun 25, 2024
1 parent cab26c4 commit 4ebcbf8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
2 changes: 1 addition & 1 deletion hack/release-yaml.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 4ebcbf8

Please sign in to comment.